>>6,N[F++]=128|63&Oe):Oe<55296||Oe>=57344?(N[F++]=224|Oe>>>12,N[F++]=128|Oe>>>6&63,N[F++]=128|63&Oe):(Oe=65536+((1023&Oe)<<10|1023&Q.charCodeAt(++G)),N[F++]=240|Oe>>>18,N[F++]=128|Oe>>>12&63,N[F++]=128|Oe>>>6&63,N[F++]=128|63&Oe);Q=N}else{if("object"!==pe)throw new Error(w);if(null===Q)throw new Error(w);if(oe&&Q.constructor===ArrayBuffer)Q=new Uint8Array(Q);else if(!(Array.isArray(Q)||oe&&ArrayBuffer.isView(Q)))throw new Error(w)}Q.length>64&&(Q=new ye(z,!0).update(Q).array());var de=[],Fe=[];for(G=0;G<64;++G){var Ne=Q[G]||0;de[G]=92^Ne,Fe[G]=54^Ne}ye.call(this,z,Z),this.update(Fe),this.oKeyPad=de,this.inner=!0,this.sharedMemory=Z}ye.prototype.update=function(Q){if(!this.finalized){var z,Z=typeof Q;if("string"!==Z){if("object"!==Z)throw new Error(w);if(null===Q)throw new Error(w);if(oe&&Q.constructor===ArrayBuffer)Q=new Uint8Array(Q);else if(!(Array.isArray(Q)||oe&&ArrayBuffer.isView(Q)))throw new Error(w);z=!0}for(var G,N,pe=0,_e=Q.length,F=this.blocks;pe<_e;){if(this.hashed&&(this.hashed=!1,F[0]=this.block,this.block=F[16]=F[1]=F[2]=F[3]=F[4]=F[5]=F[6]=F[7]=F[8]=F[9]=F[10]=F[11]=F[12]=F[13]=F[14]=F[15]=0),z)for(N=this.start;pe<_e&&N<64;++pe)F[N>>>2]|=Q[pe]<>>2]|=G<
>>2]|=(192|G>>>6)<
>>2]|=(128|63&G)<
=57344?(F[N>>>2]|=(224|G>>>12)<
>>2]|=(128|G>>>6&63)<
>>2]|=(128|63&G)<
>>2]|=(240|G>>>18)<
>>2]|=(128|G>>>12&63)<
>>2]|=(128|G>>>6&63)<
>>2]|=(128|63&G)<
=64?(this.block=F[16],this.start=N-64,this.hash(),this.hashed=!0):this.start=N}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},ye.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var Q=this.blocks,z=this.lastByteIndex;Q[16]=this.block,Q[z>>>2]|=ne[3&z],this.block=Q[16],z>=56&&(this.hashed||this.hash(),Q[0]=this.block,Q[16]=Q[1]=Q[2]=Q[3]=Q[4]=Q[5]=Q[6]=Q[7]=Q[8]=Q[9]=Q[10]=Q[11]=Q[12]=Q[13]=Q[14]=Q[15]=0),Q[14]=this.hBytes<<3|this.bytes>>>29,Q[15]=this.bytes<<3,this.hash()}},ye.prototype.hash=function(){var de,B,Ie,we,He,We,Q=this.h0,z=this.h1,Z=this.h2,G=this.h3,pe=this.h4,N=this.h5,_e=this.h6,F=this.h7,Oe=this.blocks;for(de=16;de<64;++de)Oe[de]=Oe[de-16]+(((B=Oe[de-15])>>>7|B<<25)^(B>>>18|B<<14)^B>>>3)+Oe[de-7]+(((B=Oe[de-2])>>>17|B<<15)^(B>>>19|B<<13)^B>>>10)<<0;for(We=z&Z,de=0;de<64;de+=4)this.first?(this.is224?(Ie=300032,F=(B=Oe[0]-1413257819)-150054599<<0,G=B+24177077<<0):(Ie=704751109,F=(B=Oe[0]-210244248)-1521486534<<0,G=B+143694565<<0),this.first=!1):(F=G+(B=F+((pe>>>6|pe<<26)^(pe>>>11|pe<<21)^(pe>>>25|pe<<7))+(pe&N^~pe&_e)+K[de]+Oe[de])<<0,G=B+(((Q>>>2|Q<<30)^(Q>>>13|Q<<19)^(Q>>>22|Q<<10))+((Ie=Q&z)^Q&Z^We))<<0),_e=Z+(B=_e+((F>>>6|F<<26)^(F>>>11|F<<21)^(F>>>25|F<<7))+(F&pe^~F&N)+K[de+1]+Oe[de+1])<<0,Z=B+(((G>>>2|G<<30)^(G>>>13|G<<19)^(G>>>22|G<<10))+((we=G&Q)^G&z^Ie))<<0,N=z+(B=N+((_e>>>6|_e<<26)^(_e>>>11|_e<<21)^(_e>>>25|_e<<7))+(_e&F^~_e&pe)+K[de+2]+Oe[de+2])<<0,z=B+(((Z>>>2|Z<<30)^(Z>>>13|Z<<19)^(Z>>>22|Z<<10))+((He=Z&G)^Z&Q^we))<<0,pe=Q+(B=pe+((N>>>6|N<<26)^(N>>>11|N<<21)^(N>>>25|N<<7))+(N&_e^~N&F)+K[de+3]+Oe[de+3])<<0,Q=B+(((z>>>2|z<<30)^(z>>>13|z<<19)^(z>>>22|z<<10))+((We=z&Z)^z&G^He))<<0,this.chromeBugWorkAround=!0;this.h0=this.h0+Q<<0,this.h1=this.h1+z<<0,this.h2=this.h2+Z<<0,this.h3=this.h3+G<<0,this.h4=this.h4+pe<<0,this.h5=this.h5+N<<0,this.h6=this.h6+_e<<0,this.h7=this.h7+F<<0},ye.prototype.toString=ye.prototype.hex=function(){this.finalize();var Q=this.h0,z=this.h1,Z=this.h2,G=this.h3,pe=this.h4,N=this.h5,_e=this.h6,F=this.h7,Oe=L[Q>>>28&15]+L[Q>>>24&15]+L[Q>>>20&15]+L[Q>>>16&15]+L[Q>>>12&15]+L[Q>>>8&15]+L[Q>>>4&15]+L[15&Q]+L[z>>>28&15]+L[z>>>24&15]+L[z>>>20&15]+L[z>>>16&15]+L[z>>>12&15]+L[z>>>8&15]+L[z>>>4&15]+L[15&z]+L[Z>>>28&15]+L[Z>>>24&15]+L[Z>>>20&15]+L[Z>>>16&15]+L[Z>>>12&15]+L[Z>>>8&15]+L[Z>>>4&15]+L[15&Z]+L[G>>>28&15]+L[G>>>24&15]+L[G>>>20&15]+L[G>>>16&15]+L[G>>>12&15]+L[G>>>8&15]+L[G>>>4&15]+L[15&G]+L[pe>>>28&15]+L[pe>>>24&15]+L[pe>>>20&15]+L[pe>>>16&15]+L[pe>>>12&15]+L[pe>>>8&15]+L[pe>>>4&15]+L[15&pe]+L[N>>>28&15]+L[N>>>24&15]+L[N>>>20&15]+L[N>>>16&15]+L[N>>>12&15]+L[N>>>8&15]+L[N>>>4&15]+L[15&N]+L[_e>>>28&15]+L[_e>>>24&15]+L[_e>>>20&15]+L[_e>>>16&15]+L[_e>>>12&15]+L[_e>>>8&15]+L[_e>>>4&15]+L[15&_e];return this.is224||(Oe+=L[F>>>28&15]+L[F>>>24&15]+L[F>>>20&15]+L[F>>>16&15]+L[F>>>12&15]+L[F>>>8&15]+L[F>>>4&15]+L[15&F]),Oe},ye.prototype.array=ye.prototype.digest=function(){this.finalize();var Q=this.h0,z=this.h1,Z=this.h2,G=this.h3,pe=this.h4,N=this.h5,_e=this.h6,F=this.h7,Oe=[Q>>>24&255,Q>>>16&255,Q>>>8&255,255&Q,z>>>24&255,z>>>16&255,z>>>8&255,255&z,Z>>>24&255,Z>>>16&255,Z>>>8&255,255&Z,G>>>24&255,G>>>16&255,G>>>8&255,255&G,pe>>>24&255,pe>>>16&255,pe>>>8&255,255&pe,N>>>24&255,N>>>16&255,N>>>8&255,255&N,_e>>>24&255,_e>>>16&255,_e>>>8&255,255&_e];return this.is224||Oe.push(F>>>24&255,F>>>16&255,F>>>8&255,255&F),Oe},ye.prototype.arrayBuffer=function(){this.finalize();var Q=new ArrayBuffer(this.is224?28:32),z=new DataView(Q);return z.setUint32(0,this.h0),z.setUint32(4,this.h1),z.setUint32(8,this.h2),z.setUint32(12,this.h3),z.setUint32(16,this.h4),z.setUint32(20,this.h5),z.setUint32(24,this.h6),this.is224||z.setUint32(28,this.h7),Q},(De.prototype=new ye).finalize=function(){if(ye.prototype.finalize.call(this),this.inner){this.inner=!1;var Q=this.array();ye.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(Q),ye.prototype.finalize.call(this)}};var me=Ee();me.sha256=me,me.sha224=Ee(!0),me.sha256.hmac=fe(),me.sha224.hmac=fe(!0),q?Pe.exports=me:(V.sha256=me.sha256,V.sha224=me.sha224,J&&void 0!==(p=function(){return me}.call(me,D,me,Pe))&&(Pe.exports=p))}()},1135:(Pe,ae,D)=>{"use strict";D.d(ae,{X:()=>w});var p=D(7579);class w extends p.x{constructor(V){super(),this._value=V}get value(){return this.getValue()}_subscribe(V){const H=super._subscribe(V);return!H.closed&&V.next(this._value),H}getValue(){const{hasError:V,thrownError:H,_value:ee}=this;if(V)throw H;return this._throwIfClosed(),ee}next(V){super.next(this._value=V)}}},9751:(Pe,ae,D)=>{"use strict";D.d(ae,{y:()=>J});var p=D(930),w=D(727),A=D(8822),V=D(9635),H=D(2416),ee=D(576),q=D(2806);let J=(()=>{class P{constructor(M){M&&(this._subscribe=M)}lift(M){const U=new P;return U.source=this,U.operator=M,U}subscribe(M,U,te){const Ee=function ne(P){return P&&P instanceof p.Lv||function L(P){return P&&(0,ee.m)(P.next)&&(0,ee.m)(P.error)&&(0,ee.m)(P.complete)}(P)&&(0,w.Nn)(P)}(M)?M:new p.Hp(M,U,te);return(0,q.x)(()=>{const{operator:ke,source:Me}=this;Ee.add(ke?ke.call(Ee,Me):Me?this._subscribe(Ee):this._trySubscribe(Ee))}),Ee}_trySubscribe(M){try{return this._subscribe(M)}catch(U){M.error(U)}}forEach(M,U){return new(U=oe(U))((te,Ee)=>{const ke=new p.Hp({next:Me=>{try{M(Me)}catch(fe){Ee(fe),ke.unsubscribe()}},error:Ee,complete:te});this.subscribe(ke)})}_subscribe(M){var U;return null===(U=this.source)||void 0===U?void 0:U.subscribe(M)}[A.L](){return this}pipe(...M){return(0,V.U)(M)(this)}toPromise(M){return new(M=oe(M))((U,te)=>{let Ee;this.subscribe(ke=>Ee=ke,ke=>te(ke),()=>U(Ee))})}}return P.create=K=>new P(K),P})();function oe(P){var K;return null!==(K=P??H.v.Promise)&&void 0!==K?K:Promise}},7579:(Pe,ae,D)=>{"use strict";D.d(ae,{x:()=>q});var p=D(9751),w=D(727);const V=(0,D(3888).d)(oe=>function(){oe(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var H=D(8737),ee=D(2806);let q=(()=>{class oe extends p.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(ne){const P=new J(this,this);return P.operator=ne,P}_throwIfClosed(){if(this.closed)throw new V}next(ne){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const P of this.currentObservers)P.next(ne)}})}error(ne){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=ne;const{observers:P}=this;for(;P.length;)P.shift().error(ne)}})}complete(){(0,ee.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:ne}=this;for(;ne.length;)ne.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var ne;return(null===(ne=this.observers)||void 0===ne?void 0:ne.length)>0}_trySubscribe(ne){return this._throwIfClosed(),super._trySubscribe(ne)}_subscribe(ne){return this._throwIfClosed(),this._checkFinalizedStatuses(ne),this._innerSubscribe(ne)}_innerSubscribe(ne){const{hasError:P,isStopped:K,observers:M}=this;return P||K?w.Lc:(this.currentObservers=null,M.push(ne),new w.w0(()=>{this.currentObservers=null,(0,H.P)(M,ne)}))}_checkFinalizedStatuses(ne){const{hasError:P,thrownError:K,isStopped:M}=this;P?ne.error(K):M&&ne.complete()}asObservable(){const ne=new p.y;return ne.source=this,ne}}return oe.create=(L,ne)=>new J(L,ne),oe})();class J extends q{constructor(L,ne){super(),this.destination=L,this.source=ne}next(L){var ne,P;null===(P=null===(ne=this.destination)||void 0===ne?void 0:ne.next)||void 0===P||P.call(ne,L)}error(L){var ne,P;null===(P=null===(ne=this.destination)||void 0===ne?void 0:ne.error)||void 0===P||P.call(ne,L)}complete(){var L,ne;null===(ne=null===(L=this.destination)||void 0===L?void 0:L.complete)||void 0===ne||ne.call(L)}_subscribe(L){var ne,P;return null!==(P=null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(L))&&void 0!==P?P:w.Lc}}},930:(Pe,ae,D)=>{"use strict";D.d(ae,{Hp:()=>te,Lv:()=>P});var p=D(576),w=D(727),A=D(2416),V=D(7849),H=D(5032);const ee=oe("C",void 0,void 0);function oe(ye,De,me){return{kind:ye,value:De,error:me}}var L=D(3410),ne=D(2806);class P extends w.w0{constructor(De){super(),this.isStopped=!1,De?(this.destination=De,(0,w.Nn)(De)&&De.add(this)):this.destination=fe}static create(De,me,Q){return new te(De,me,Q)}next(De){this.isStopped?Me(function J(ye){return oe("N",ye,void 0)}(De),this):this._next(De)}error(De){this.isStopped?Me(function q(ye){return oe("E",void 0,ye)}(De),this):(this.isStopped=!0,this._error(De))}complete(){this.isStopped?Me(ee,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(De){this.destination.next(De)}_error(De){try{this.destination.error(De)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const K=Function.prototype.bind;function M(ye,De){return K.call(ye,De)}class U{constructor(De){this.partialObserver=De}next(De){const{partialObserver:me}=this;if(me.next)try{me.next(De)}catch(Q){Ee(Q)}}error(De){const{partialObserver:me}=this;if(me.error)try{me.error(De)}catch(Q){Ee(Q)}else Ee(De)}complete(){const{partialObserver:De}=this;if(De.complete)try{De.complete()}catch(me){Ee(me)}}}class te extends P{constructor(De,me,Q){let z;if(super(),(0,p.m)(De)||!De)z={next:De??void 0,error:me??void 0,complete:Q??void 0};else{let Z;this&&A.v.useDeprecatedNextContext?(Z=Object.create(De),Z.unsubscribe=()=>this.unsubscribe(),z={next:De.next&&M(De.next,Z),error:De.error&&M(De.error,Z),complete:De.complete&&M(De.complete,Z)}):z=De}this.destination=new U(z)}}function Ee(ye){A.v.useDeprecatedSynchronousErrorHandling?(0,ne.O)(ye):(0,V.h)(ye)}function Me(ye,De){const{onStoppedNotification:me}=A.v;me&&L.z.setTimeout(()=>me(ye,De))}const fe={closed:!0,next:H.Z,error:function ke(ye){throw ye},complete:H.Z}},727:(Pe,ae,D)=>{"use strict";D.d(ae,{Lc:()=>ee,w0:()=>H,Nn:()=>q});var p=D(576);const A=(0,D(3888).d)(oe=>function(ne){oe(this),this.message=ne?`${ne.length} errors occurred during unsubscription:\n${ne.map((P,K)=>`${K+1}) ${P.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=ne});var V=D(8737);class H{constructor(L){this.initialTeardown=L,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let L;if(!this.closed){this.closed=!0;const{_parentage:ne}=this;if(ne)if(this._parentage=null,Array.isArray(ne))for(const M of ne)M.remove(this);else ne.remove(this);const{initialTeardown:P}=this;if((0,p.m)(P))try{P()}catch(M){L=M instanceof A?M.errors:[M]}const{_finalizers:K}=this;if(K){this._finalizers=null;for(const M of K)try{J(M)}catch(U){L=L??[],U instanceof A?L=[...L,...U.errors]:L.push(U)}}if(L)throw new A(L)}}add(L){var ne;if(L&&L!==this)if(this.closed)J(L);else{if(L instanceof H){if(L.closed||L._hasParent(this))return;L._addParent(this)}(this._finalizers=null!==(ne=this._finalizers)&&void 0!==ne?ne:[]).push(L)}}_hasParent(L){const{_parentage:ne}=this;return ne===L||Array.isArray(ne)&&ne.includes(L)}_addParent(L){const{_parentage:ne}=this;this._parentage=Array.isArray(ne)?(ne.push(L),ne):ne?[ne,L]:L}_removeParent(L){const{_parentage:ne}=this;ne===L?this._parentage=null:Array.isArray(ne)&&(0,V.P)(ne,L)}remove(L){const{_finalizers:ne}=this;ne&&(0,V.P)(ne,L),L instanceof H&&L._removeParent(this)}}H.EMPTY=(()=>{const oe=new H;return oe.closed=!0,oe})();const ee=H.EMPTY;function q(oe){return oe instanceof H||oe&&"closed"in oe&&(0,p.m)(oe.remove)&&(0,p.m)(oe.add)&&(0,p.m)(oe.unsubscribe)}function J(oe){(0,p.m)(oe)?oe():oe.unsubscribe()}},2416:(Pe,ae,D)=>{"use strict";D.d(ae,{v:()=>p});const p={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},7272:(Pe,ae,D)=>{"use strict";D.d(ae,{z:()=>H});var p=D(8189),A=D(3269),V=D(2076);function H(...ee){return function w(){return(0,p.J)(1)}()((0,V.D)(ee,(0,A.yG)(ee)))}},515:(Pe,ae,D)=>{"use strict";D.d(ae,{E:()=>w});const w=new(D(9751).y)(H=>H.complete())},2076:(Pe,ae,D)=>{"use strict";D.d(ae,{D:()=>Q});var p=D(8421),w=D(9672),A=D(4482),V=D(5403);function H(z,Z=0){return(0,A.e)((G,pe)=>{G.subscribe((0,V.x)(pe,N=>(0,w.f)(pe,z,()=>pe.next(N),Z),()=>(0,w.f)(pe,z,()=>pe.complete(),Z),N=>(0,w.f)(pe,z,()=>pe.error(N),Z)))})}function ee(z,Z=0){return(0,A.e)((G,pe)=>{pe.add(z.schedule(()=>G.subscribe(pe),Z))})}var oe=D(9751),ne=D(2202),P=D(576);function M(z,Z){if(!z)throw new Error("Iterable cannot be null");return new oe.y(G=>{(0,w.f)(G,Z,()=>{const pe=z[Symbol.asyncIterator]();(0,w.f)(G,Z,()=>{pe.next().then(N=>{N.done?G.complete():G.next(N.value)})},0,!0)})})}var U=D(3670),te=D(8239),Ee=D(1144),ke=D(6495),Me=D(2206),fe=D(4532),ye=D(3260);function Q(z,Z){return Z?function me(z,Z){if(null!=z){if((0,U.c)(z))return function q(z,Z){return(0,p.Xf)(z).pipe(ee(Z),H(Z))}(z,Z);if((0,Ee.z)(z))return function L(z,Z){return new oe.y(G=>{let pe=0;return Z.schedule(function(){pe===z.length?G.complete():(G.next(z[pe++]),G.closed||this.schedule())})})}(z,Z);if((0,te.t)(z))return function J(z,Z){return(0,p.Xf)(z).pipe(ee(Z),H(Z))}(z,Z);if((0,Me.D)(z))return M(z,Z);if((0,ke.T)(z))return function K(z,Z){return new oe.y(G=>{let pe;return(0,w.f)(G,Z,()=>{pe=z[ne.h](),(0,w.f)(G,Z,()=>{let N,_e;try{({value:N,done:_e}=pe.next())}catch(F){return void G.error(F)}_e?G.complete():G.next(N)},0,!0)}),()=>(0,P.m)(pe?.return)&&pe.return()})}(z,Z);if((0,ye.L)(z))return function De(z,Z){return M((0,ye.Q)(z),Z)}(z,Z)}throw(0,fe.z)(z)}(z,Z):(0,p.Xf)(z)}},8421:(Pe,ae,D)=>{"use strict";D.d(ae,{Xf:()=>K});var p=D(7582),w=D(1144),A=D(8239),V=D(9751),H=D(3670),ee=D(2206),q=D(4532),J=D(6495),oe=D(3260),L=D(576),ne=D(7849),P=D(8822);function K(ye){if(ye instanceof V.y)return ye;if(null!=ye){if((0,H.c)(ye))return function M(ye){return new V.y(De=>{const me=ye[P.L]();if((0,L.m)(me.subscribe))return me.subscribe(De);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ye);if((0,w.z)(ye))return function U(ye){return new V.y(De=>{for(let me=0;me{ye.then(me=>{De.closed||(De.next(me),De.complete())},me=>De.error(me)).then(null,ne.h)})}(ye);if((0,ee.D)(ye))return ke(ye);if((0,J.T)(ye))return function Ee(ye){return new V.y(De=>{for(const me of ye)if(De.next(me),De.closed)return;De.complete()})}(ye);if((0,oe.L)(ye))return function Me(ye){return ke((0,oe.Q)(ye))}(ye)}throw(0,q.z)(ye)}function ke(ye){return new V.y(De=>{(function fe(ye,De){var me,Q,z,Z;return(0,p.mG)(this,void 0,void 0,function*(){try{for(me=(0,p.KL)(ye);!(Q=yield me.next()).done;)if(De.next(Q.value),De.closed)return}catch(G){z={error:G}}finally{try{Q&&!Q.done&&(Z=me.return)&&(yield Z.call(me))}finally{if(z)throw z.error}}De.complete()})})(ye,De).catch(me=>De.error(me))})}},9646:(Pe,ae,D)=>{"use strict";D.d(ae,{of:()=>A});var p=D(3269),w=D(2076);function A(...V){const H=(0,p.yG)(V);return(0,w.D)(V,H)}},5403:(Pe,ae,D)=>{"use strict";D.d(ae,{x:()=>w});var p=D(930);function w(V,H,ee,q,J){return new A(V,H,ee,q,J)}class A extends p.Lv{constructor(H,ee,q,J,oe,L){super(H),this.onFinalize=oe,this.shouldUnsubscribe=L,this._next=ee?function(ne){try{ee(ne)}catch(P){H.error(P)}}:super._next,this._error=J?function(ne){try{J(ne)}catch(P){H.error(P)}finally{this.unsubscribe()}}:super._error,this._complete=q?function(){try{q()}catch(ne){H.error(ne)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var H;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:ee}=this;super.unsubscribe(),!ee&&(null===(H=this.onFinalize)||void 0===H||H.call(this))}}}},262:(Pe,ae,D)=>{"use strict";D.d(ae,{K:()=>V});var p=D(8421),w=D(5403),A=D(4482);function V(H){return(0,A.e)((ee,q)=>{let L,J=null,oe=!1;J=ee.subscribe((0,w.x)(q,void 0,void 0,ne=>{L=(0,p.Xf)(H(ne,V(H)(ee))),J?(J.unsubscribe(),J=null,L.subscribe(q)):oe=!0})),oe&&(J.unsubscribe(),J=null,L.subscribe(q))})}},4351:(Pe,ae,D)=>{"use strict";D.d(ae,{b:()=>A});var p=D(5577),w=D(576);function A(V,H){return(0,w.m)(H)?(0,p.z)(V,H,1):(0,p.z)(V,1)}},9300:(Pe,ae,D)=>{"use strict";D.d(ae,{h:()=>A});var p=D(4482),w=D(5403);function A(V,H){return(0,p.e)((ee,q)=>{let J=0;ee.subscribe((0,w.x)(q,oe=>V.call(H,oe,J++)&&q.next(oe)))})}},4004:(Pe,ae,D)=>{"use strict";D.d(ae,{U:()=>A});var p=D(4482),w=D(5403);function A(V,H){return(0,p.e)((ee,q)=>{let J=0;ee.subscribe((0,w.x)(q,oe=>{q.next(V.call(H,oe,J++))}))})}},9718:(Pe,ae,D)=>{"use strict";D.d(ae,{h:()=>w});var p=D(4004);function w(A){return(0,p.U)(()=>A)}},8189:(Pe,ae,D)=>{"use strict";D.d(ae,{J:()=>A});var p=D(5577),w=D(4671);function A(V=1/0){return(0,p.z)(w.y,V)}},5577:(Pe,ae,D)=>{"use strict";D.d(ae,{z:()=>J});var p=D(4004),w=D(8421),A=D(4482),V=D(9672),H=D(5403),q=D(576);function J(oe,L,ne=1/0){return(0,q.m)(L)?J((P,K)=>(0,p.U)((M,U)=>L(P,M,K,U))((0,w.Xf)(oe(P,K))),ne):("number"==typeof L&&(ne=L),(0,A.e)((P,K)=>function ee(oe,L,ne,P,K,M,U,te){const Ee=[];let ke=0,Me=0,fe=!1;const ye=()=>{fe&&!Ee.length&&!ke&&L.complete()},De=Q=>ke{M&&L.next(Q),ke++;let z=!1;(0,w.Xf)(ne(Q,Me++)).subscribe((0,H.x)(L,Z=>{K?.(Z),M?De(Z):L.next(Z)},()=>{z=!0},void 0,()=>{if(z)try{for(ke--;Ee.length&&ke
me(Z)):me(Z)}ye()}catch(Z){L.error(Z)}}))};return oe.subscribe((0,H.x)(L,De,()=>{fe=!0,ye()})),()=>{te?.()}}(P,K,oe,ne)))}},5698:(Pe,ae,D)=>{"use strict";D.d(ae,{q:()=>V});var p=D(515),w=D(4482),A=D(5403);function V(H){return H<=0?()=>p.E:(0,w.e)((ee,q)=>{let J=0;ee.subscribe((0,A.x)(q,oe=>{++J<=H&&(q.next(oe),H<=J&&q.complete())}))})}},2722:(Pe,ae,D)=>{"use strict";D.d(ae,{R:()=>H});var p=D(4482),w=D(5403),A=D(8421),V=D(5032);function H(ee){return(0,p.e)((q,J)=>{(0,A.Xf)(ee).subscribe((0,w.x)(J,()=>J.complete(),V.Z)),!J.closed&&q.subscribe(J)})}},8505:(Pe,ae,D)=>{"use strict";D.d(ae,{b:()=>H});var p=D(576),w=D(4482),A=D(5403),V=D(4671);function H(ee,q,J){const oe=(0,p.m)(ee)||q||J?{next:ee,error:q,complete:J}:ee;return oe?(0,w.e)((L,ne)=>{var P;null===(P=oe.subscribe)||void 0===P||P.call(oe);let K=!0;L.subscribe((0,A.x)(ne,M=>{var U;null===(U=oe.next)||void 0===U||U.call(oe,M),ne.next(M)},()=>{var M;K=!1,null===(M=oe.complete)||void 0===M||M.call(oe),ne.complete()},M=>{var U;K=!1,null===(U=oe.error)||void 0===U||U.call(oe,M),ne.error(M)},()=>{var M,U;K&&(null===(M=oe.unsubscribe)||void 0===M||M.call(oe)),null===(U=oe.finalize)||void 0===U||U.call(oe)}))}):V.y}},3410:(Pe,ae,D)=>{"use strict";D.d(ae,{z:()=>p});const p={setTimeout(w,A,...V){const{delegate:H}=p;return H?.setTimeout?H.setTimeout(w,A,...V):setTimeout(w,A,...V)},clearTimeout(w){const{delegate:A}=p;return(A?.clearTimeout||clearTimeout)(w)},delegate:void 0}},2202:(Pe,ae,D)=>{"use strict";D.d(ae,{h:()=>w});const w=function p(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Pe,ae,D)=>{"use strict";D.d(ae,{L:()=>p});const p="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Pe,ae,D)=>{"use strict";D.d(ae,{K:()=>w});const w=(0,D(3888).d)(A=>function(){A(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(Pe,ae,D)=>{"use strict";D.d(ae,{_6:()=>ee,jO:()=>V,yG:()=>H});var p=D(576),w=D(3532);function A(q){return q[q.length-1]}function V(q){return(0,p.m)(A(q))?q.pop():void 0}function H(q){return(0,w.K)(A(q))?q.pop():void 0}function ee(q,J){return"number"==typeof A(q)?q.pop():J}},8737:(Pe,ae,D)=>{"use strict";function p(w,A){if(w){const V=w.indexOf(A);0<=V&&w.splice(V,1)}}D.d(ae,{P:()=>p})},3888:(Pe,ae,D)=>{"use strict";function p(w){const V=w(H=>{Error.call(H),H.stack=(new Error).stack});return V.prototype=Object.create(Error.prototype),V.prototype.constructor=V,V}D.d(ae,{d:()=>p})},2806:(Pe,ae,D)=>{"use strict";D.d(ae,{O:()=>V,x:()=>A});var p=D(2416);let w=null;function A(H){if(p.v.useDeprecatedSynchronousErrorHandling){const ee=!w;if(ee&&(w={errorThrown:!1,error:null}),H(),ee){const{errorThrown:q,error:J}=w;if(w=null,q)throw J}}else H()}function V(H){p.v.useDeprecatedSynchronousErrorHandling&&w&&(w.errorThrown=!0,w.error=H)}},9672:(Pe,ae,D)=>{"use strict";function p(w,A,V,H=0,ee=!1){const q=A.schedule(function(){V(),ee?w.add(this.schedule(null,H)):this.unsubscribe()},H);if(w.add(q),!ee)return q}D.d(ae,{f:()=>p})},4671:(Pe,ae,D)=>{"use strict";function p(w){return w}D.d(ae,{y:()=>p})},1144:(Pe,ae,D)=>{"use strict";D.d(ae,{z:()=>p});const p=w=>w&&"number"==typeof w.length&&"function"!=typeof w},2206:(Pe,ae,D)=>{"use strict";D.d(ae,{D:()=>w});var p=D(576);function w(A){return Symbol.asyncIterator&&(0,p.m)(A?.[Symbol.asyncIterator])}},576:(Pe,ae,D)=>{"use strict";function p(w){return"function"==typeof w}D.d(ae,{m:()=>p})},3670:(Pe,ae,D)=>{"use strict";D.d(ae,{c:()=>A});var p=D(8822),w=D(576);function A(V){return(0,w.m)(V[p.L])}},6495:(Pe,ae,D)=>{"use strict";D.d(ae,{T:()=>A});var p=D(2202),w=D(576);function A(V){return(0,w.m)(V?.[p.h])}},8239:(Pe,ae,D)=>{"use strict";D.d(ae,{t:()=>w});var p=D(576);function w(A){return(0,p.m)(A?.then)}},3260:(Pe,ae,D)=>{"use strict";D.d(ae,{L:()=>V,Q:()=>A});var p=D(7582),w=D(576);function A(H){return(0,p.FC)(this,arguments,function*(){const q=H.getReader();try{for(;;){const{value:J,done:oe}=yield(0,p.qq)(q.read());if(oe)return yield(0,p.qq)(void 0);yield yield(0,p.qq)(J)}}finally{q.releaseLock()}})}function V(H){return(0,w.m)(H?.getReader)}},3532:(Pe,ae,D)=>{"use strict";D.d(ae,{K:()=>w});var p=D(576);function w(A){return A&&(0,p.m)(A.schedule)}},4482:(Pe,ae,D)=>{"use strict";D.d(ae,{A:()=>w,e:()=>A});var p=D(576);function w(V){return(0,p.m)(V?.lift)}function A(V){return H=>{if(w(H))return H.lift(function(ee){try{return V(ee,this)}catch(q){this.error(q)}});throw new TypeError("Unable to lift unknown Observable type")}}},5032:(Pe,ae,D)=>{"use strict";function p(){}D.d(ae,{Z:()=>p})},9635:(Pe,ae,D)=>{"use strict";D.d(ae,{U:()=>A,z:()=>w});var p=D(4671);function w(...V){return A(V)}function A(V){return 0===V.length?p.y:1===V.length?V[0]:function(ee){return V.reduce((q,J)=>J(q),ee)}}},7849:(Pe,ae,D)=>{"use strict";D.d(ae,{h:()=>A});var p=D(2416),w=D(3410);function A(V){w.z.setTimeout(()=>{const{onUnhandledError:H}=p.v;if(!H)throw V;H(V)})}},4532:(Pe,ae,D)=>{"use strict";function p(w){return new TypeError(`You provided ${null!==w&&"object"==typeof w?"an invalid object":`'${w}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}D.d(ae,{z:()=>p})},5834:function(Pe,ae,D){var p;!function(w,A){"use strict";var q="function",J="undefined",oe="object",L="string",P="model",K="name",M="type",U="vendor",te="version",Ee="architecture",ke="console",Me="mobile",fe="tablet",ye="smarttv",De="wearable",me="embedded",z="Amazon",Z="Apple",G="ASUS",pe="BlackBerry",N="Browser",_e="Chrome",Oe="Firefox",de="Google",W="Microsoft",B="Motorola",re="Opera",ce="Samsung",we="Sony",He="Xiaomi",We="Zebra",ht="Facebook",Ue="Chromium OS",tt=function(se){for(var S={},x=0;x0?2===Be.length?this[Be[0]]=typeof Be[1]==q?Be[1].call(this,$e):Be[1]:3===Be.length?this[Be[0]]=typeof Be[1]!==q||Be[1].exec&&Be[1].test?$e?$e.replace(Be[1],Be[2]):A:$e?Be[1].call(this,$e,Be[2]):A:4===Be.length&&(this[Be[0]]=$e?Be[3].call(this,$e.replace(Be[1],Be[2])):A):this[Be]=$e||A;x+=2}},Lt=function(se,S){for(var x in S)if(typeof S[x]===oe&&S[x].length>0){for(var ie=0;ie2&&(Re[P]="iPad",Re[M]=fe),Re},this.getEngine=function(){var Re={};return Re[K]=A,Re[te]=A,jt.call(Re,ie,Ve.engine),Re},this.getOS=function(){var Re={};return Re[K]=A,Re[te]=A,jt.call(Re,ie,Ve.os),Be&&!Re[K]&&ge&&ge.platform&&"Unknown"!=ge.platform&&(Re[K]=ge.platform.replace(/chrome os/i,Ue).replace(/macos/i,"Mac OS")),Re},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return ie},this.setUA=function(Re){return ie=typeof Re===L&&Re.length>500?Nt(Re,500):Re,this},this.setUA(ie),this};At.VERSION="1.0.38",At.BROWSER=tt([K,te,"major"]),At.CPU=tt([Ee]),At.DEVICE=tt([P,U,M,ke,Me,ye,fe,De,me]),At.ENGINE=At.OS=tt([K,te]),typeof ae!==J?(Pe.exports&&(ae=Pe.exports=At),ae.UAParser=At):D.amdO?(p=function(){return At}.call(ae,D,ae,Pe))!==A&&(Pe.exports=p):typeof w!==J&&(w.UAParser=At);var qe=typeof w!==J&&(w.jQuery||w.Zepto);if(qe&&!qe.ua){var zt=new At;qe.ua=zt.getResult(),qe.ua.get=function(){return zt.getUA()},qe.ua.set=function(se){zt.setUA(se);var S=zt.getResult();for(var x in S)qe.ua[x]=S[x]}}}("object"==typeof window?window:this)},1371:()=>{},6127:()=>{},6895:(Pe,ae,D)=>{"use strict";D.d(ae,{Do:()=>fe,EM:()=>Fo,HT:()=>H,JF:()=>os,JJ:()=>ii,K0:()=>q,Mx:()=>Sr,O5:()=>mt,PC:()=>Vt,RF:()=>Sn,S$:()=>Ee,V_:()=>L,Ye:()=>ye,b0:()=>Me,bD:()=>Po,ez:()=>Xn,n9:()=>Ar,q:()=>A,sg:()=>yn,uU:()=>ns,w_:()=>ee});var p=D(8256);let w=null;function A(){return w}function H(d){w||(w=d)}class ee{}const q=new p.OlP("DocumentToken");let J=(()=>{class d{historyGo(g){throw new Error("Not implemented")}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275prov=p.Yz7({token:d,factory:function(){return function oe(){return(0,p.LFG)(ne)}()},providedIn:"platform"}),d})();const L=new p.OlP("Location Initialized");let ne=(()=>{class d extends J{constructor(g){super(),this._doc=g,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return A().getBaseHref(this._doc)}onPopState(g){const _=A().getGlobalEventTarget(this._doc,"window");return _.addEventListener("popstate",g,!1),()=>_.removeEventListener("popstate",g)}onHashChange(g){const _=A().getGlobalEventTarget(this._doc,"window");return _.addEventListener("hashchange",g,!1),()=>_.removeEventListener("hashchange",g)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(g){this.location.pathname=g}pushState(g,_,R){P()?this._history.pushState(g,_,R):this.location.hash=R}replaceState(g,_,R){P()?this._history.replaceState(g,_,R):this.location.hash=R}forward(){this._history.forward()}back(){this._history.back()}historyGo(g=0){this._history.go(g)}getState(){return this._history.state}}return d.\u0275fac=function(g){return new(g||d)(p.LFG(q))},d.\u0275prov=p.Yz7({token:d,factory:function(){return function K(){return new ne((0,p.LFG)(q))}()},providedIn:"platform"}),d})();function P(){return!!window.history.pushState}function M(d,y){if(0==d.length)return y;if(0==y.length)return d;let g=0;return d.endsWith("/")&&g++,y.startsWith("/")&&g++,2==g?d+y.substring(1):1==g?d+y:d+"/"+y}function U(d){const y=d.match(/#|\?|$/),g=y&&y.index||d.length;return d.slice(0,g-("/"===d[g-1]?1:0))+d.slice(g)}function te(d){return d&&"?"!==d[0]?"?"+d:d}let Ee=(()=>{class d{historyGo(g){throw new Error("Not implemented")}}return d.\u0275fac=function(g){return new(g||d)},d.\u0275prov=p.Yz7({token:d,factory:function(){return(0,p.f3M)(Me)},providedIn:"root"}),d})();const ke=new p.OlP("appBaseHref");let Me=(()=>{class d extends Ee{constructor(g,_){super(),this._platformLocation=g,this._removeListenerFns=[],this._baseHref=_??this._platformLocation.getBaseHrefFromDOM()??(0,p.f3M)(q).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(g){this._removeListenerFns.push(this._platformLocation.onPopState(g),this._platformLocation.onHashChange(g))}getBaseHref(){return this._baseHref}prepareExternalUrl(g){return M(this._baseHref,g)}path(g=!1){const _=this._platformLocation.pathname+te(this._platformLocation.search),R=this._platformLocation.hash;return R&&g?`${_}${R}`:_}pushState(g,_,R,le){const Ce=this.prepareExternalUrl(R+te(le));this._platformLocation.pushState(g,_,Ce)}replaceState(g,_,R,le){const Ce=this.prepareExternalUrl(R+te(le));this._platformLocation.replaceState(g,_,Ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(g=0){this._platformLocation.historyGo?.(g)}}return d.\u0275fac=function(g){return new(g||d)(p.LFG(J),p.LFG(ke,8))},d.\u0275prov=p.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})(),fe=(()=>{class d extends Ee{constructor(g,_){super(),this._platformLocation=g,this._baseHref="",this._removeListenerFns=[],null!=_&&(this._baseHref=_)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(g){this._removeListenerFns.push(this._platformLocation.onPopState(g),this._platformLocation.onHashChange(g))}getBaseHref(){return this._baseHref}path(g=!1){let _=this._platformLocation.hash;return null==_&&(_="#"),_.length>0?_.substring(1):_}prepareExternalUrl(g){const _=M(this._baseHref,g);return _.length>0?"#"+_:_}pushState(g,_,R,le){let Ce=this.prepareExternalUrl(R+te(le));0==Ce.length&&(Ce=this._platformLocation.pathname),this._platformLocation.pushState(g,_,Ce)}replaceState(g,_,R,le){let Ce=this.prepareExternalUrl(R+te(le));0==Ce.length&&(Ce=this._platformLocation.pathname),this._platformLocation.replaceState(g,_,Ce)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(g=0){this._platformLocation.historyGo?.(g)}}return d.\u0275fac=function(g){return new(g||d)(p.LFG(J),p.LFG(ke,8))},d.\u0275prov=p.Yz7({token:d,factory:d.\u0275fac}),d})(),ye=(()=>{class d{constructor(g){this._subject=new p.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=g;const _=this._locationStrategy.getBaseHref();this._baseHref=U(Q(_)),this._locationStrategy.onPopState(R=>{this._subject.emit({url:this.path(!0),pop:!0,state:R.state,type:R.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(g=!1){return this.normalize(this._locationStrategy.path(g))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(g,_=""){return this.path()==this.normalize(g+te(_))}normalize(g){return d.stripTrailingSlash(function me(d,y){return d&&y.startsWith(d)?y.substring(d.length):y}(this._baseHref,Q(g)))}prepareExternalUrl(g){return g&&"/"!==g[0]&&(g="/"+g),this._locationStrategy.prepareExternalUrl(g)}go(g,_="",R=null){this._locationStrategy.pushState(R,"",g,_),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+te(_)),R)}replaceState(g,_="",R=null){this._locationStrategy.replaceState(R,"",g,_),this._notifyUrlChangeListeners(this.prepareExternalUrl(g+te(_)),R)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(g=0){this._locationStrategy.historyGo?.(g)}onUrlChange(g){return this._urlChangeListeners.push(g),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(_=>{this._notifyUrlChangeListeners(_.url,_.state)})),()=>{const _=this._urlChangeListeners.indexOf(g);this._urlChangeListeners.splice(_,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(g="",_){this._urlChangeListeners.forEach(R=>R(g,_))}subscribe(g,_,R){return this._subject.subscribe({next:g,error:_,complete:R})}}return d.normalizeQueryParams=te,d.joinWithSlash=M,d.stripTrailingSlash=U,d.\u0275fac=function(g){return new(g||d)(p.LFG(Ee))},d.\u0275prov=p.Yz7({token:d,factory:function(){return function De(){return new ye((0,p.LFG)(Ee))}()},providedIn:"root"}),d})();function Q(d){return d.replace(/\/index.html$/,"")}var Z=(()=>((Z=Z||{})[Z.Decimal=0]="Decimal",Z[Z.Percent=1]="Percent",Z[Z.Currency=2]="Currency",Z[Z.Scientific=3]="Scientific",Z))(),pe=(()=>((pe=pe||{})[pe.Format=0]="Format",pe[pe.Standalone=1]="Standalone",pe))(),N=(()=>((N=N||{})[N.Narrow=0]="Narrow",N[N.Abbreviated=1]="Abbreviated",N[N.Wide=2]="Wide",N[N.Short=3]="Short",N))(),_e=(()=>((_e=_e||{})[_e.Short=0]="Short",_e[_e.Medium=1]="Medium",_e[_e.Long=2]="Long",_e[_e.Full=3]="Full",_e))(),F=(()=>((F=F||{})[F.Decimal=0]="Decimal",F[F.Group=1]="Group",F[F.List=2]="List",F[F.PercentSign=3]="PercentSign",F[F.PlusSign=4]="PlusSign",F[F.MinusSign=5]="MinusSign",F[F.Exponential=6]="Exponential",F[F.SuperscriptingExponent=7]="SuperscriptingExponent",F[F.PerMille=8]="PerMille",F[F.Infinity=9]="Infinity",F[F.NaN=10]="NaN",F[F.TimeSeparator=11]="TimeSeparator",F[F.CurrencyDecimal=12]="CurrencyDecimal",F[F.CurrencyGroup=13]="CurrencyGroup",F))();function Ie(d,y){return Lt((0,p.cg1)(d)[p.wAp.DateFormat],y)}function we(d,y){return Lt((0,p.cg1)(d)[p.wAp.TimeFormat],y)}function He(d,y){return Lt((0,p.cg1)(d)[p.wAp.DateTimeFormat],y)}function We(d,y){const g=(0,p.cg1)(d),_=g[p.wAp.NumberSymbols][y];if(typeof _>"u"){if(y===F.CurrencyDecimal)return g[p.wAp.NumberSymbols][F.Decimal];if(y===F.CurrencyGroup)return g[p.wAp.NumberSymbols][F.Group]}return _}function Rt(d){if(!d[p.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${d[p.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Lt(d,y){for(let g=y;g>-1;g--)if(typeof d[g]<"u")return d[g];throw new Error("Locale data API: locale data undefined")}function Fn(d){const[y,g]=d.split(":");return{hours:+y,minutes:+g}}const qe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,zt={},se=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var S=(()=>((S=S||{})[S.Short=0]="Short",S[S.ShortGMT=1]="ShortGMT",S[S.Long=2]="Long",S[S.Extended=3]="Extended",S))(),x=(()=>((x=x||{})[x.FullYear=0]="FullYear",x[x.Month=1]="Month",x[x.Date=2]="Date",x[x.Hours=3]="Hours",x[x.Minutes=4]="Minutes",x[x.Seconds=5]="Seconds",x[x.FractionalSeconds=6]="FractionalSeconds",x[x.Day=7]="Day",x))(),ie=(()=>((ie=ie||{})[ie.DayPeriods=0]="DayPeriods",ie[ie.Days=1]="Days",ie[ie.Months=2]="Months",ie[ie.Eras=3]="Eras",ie))();function ge(d,y,g,_){let R=function Un(d){if(or(d))return d;if("number"==typeof d&&!isNaN(d))return new Date(d);if("string"==typeof d){if(d=d.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(d)){const[R,le=1,Ce=1]=d.split("-").map(Ge=>+Ge);return Ve(R,le-1,Ce)}const g=parseFloat(d);if(!isNaN(d-g))return new Date(g);let _;if(_=d.match(qe))return function jr(d){const y=new Date(0);let g=0,_=0;const R=d[8]?y.setUTCFullYear:y.setFullYear,le=d[8]?y.setUTCHours:y.setHours;d[9]&&(g=Number(d[9]+d[10]),_=Number(d[9]+d[11])),R.call(y,Number(d[1]),Number(d[2])-1,Number(d[3]));const Ce=Number(d[4]||0)-g,Ge=Number(d[5]||0)-_,vt=Number(d[6]||0),yt=Math.floor(1e3*parseFloat("0."+(d[7]||0)));return le.call(y,Ce,Ge,vt,yt),y}(_)}const y=new Date(d);if(!or(y))throw new Error(`Unable to convert "${d}" into a date`);return y}(d);y=Be(g,y)||y;let Ge,Ce=[];for(;y;){if(Ge=se.exec(y),!Ge){Ce.push(y);break}{Ce=Ce.concat(Ge.slice(1));const Ct=Ce.pop();if(!Ct)break;y=Ct}}let vt=R.getTimezoneOffset();_&&(vt=at(_,vt),R=function ni(d,y,g){const _=g?-1:1,R=d.getTimezoneOffset();return function Jn(d,y){return(d=new Date(d.getTime())).setMinutes(d.getMinutes()+y),d}(d,_*(at(y,R)-R))}(R,_,!0));let yt="";return Ce.forEach(Ct=>{const dt=function vn(d){if(rn[d])return rn[d];let y;switch(d){case"G":case"GG":case"GGG":y=Ke(ie.Eras,N.Abbreviated);break;case"GGGG":y=Ke(ie.Eras,N.Wide);break;case"GGGGG":y=Ke(ie.Eras,N.Narrow);break;case"y":y=lt(x.FullYear,1,0,!1,!0);break;case"yy":y=lt(x.FullYear,2,0,!0,!0);break;case"yyy":y=lt(x.FullYear,3,0,!1,!0);break;case"yyyy":y=lt(x.FullYear,4,0,!1,!0);break;case"Y":y=Pn(1);break;case"YY":y=Pn(2,!0);break;case"YYY":y=Pn(3);break;case"YYYY":y=Pn(4);break;case"M":case"L":y=lt(x.Month,1,1);break;case"MM":case"LL":y=lt(x.Month,2,1);break;case"MMM":y=Ke(ie.Months,N.Abbreviated);break;case"MMMM":y=Ke(ie.Months,N.Wide);break;case"MMMMM":y=Ke(ie.Months,N.Narrow);break;case"LLL":y=Ke(ie.Months,N.Abbreviated,pe.Standalone);break;case"LLLL":y=Ke(ie.Months,N.Wide,pe.Standalone);break;case"LLLLL":y=Ke(ie.Months,N.Narrow,pe.Standalone);break;case"w":y=kn(1);break;case"ww":y=kn(2);break;case"W":y=kn(1,!0);break;case"d":y=lt(x.Date,1);break;case"dd":y=lt(x.Date,2);break;case"c":case"cc":y=lt(x.Day,1);break;case"ccc":y=Ke(ie.Days,N.Abbreviated,pe.Standalone);break;case"cccc":y=Ke(ie.Days,N.Wide,pe.Standalone);break;case"ccccc":y=Ke(ie.Days,N.Narrow,pe.Standalone);break;case"cccccc":y=Ke(ie.Days,N.Short,pe.Standalone);break;case"E":case"EE":case"EEE":y=Ke(ie.Days,N.Abbreviated);break;case"EEEE":y=Ke(ie.Days,N.Wide);break;case"EEEEE":y=Ke(ie.Days,N.Narrow);break;case"EEEEEE":y=Ke(ie.Days,N.Short);break;case"a":case"aa":case"aaa":y=Ke(ie.DayPeriods,N.Abbreviated);break;case"aaaa":y=Ke(ie.DayPeriods,N.Wide);break;case"aaaaa":y=Ke(ie.DayPeriods,N.Narrow);break;case"b":case"bb":case"bbb":y=Ke(ie.DayPeriods,N.Abbreviated,pe.Standalone,!0);break;case"bbbb":y=Ke(ie.DayPeriods,N.Wide,pe.Standalone,!0);break;case"bbbbb":y=Ke(ie.DayPeriods,N.Narrow,pe.Standalone,!0);break;case"B":case"BB":case"BBB":y=Ke(ie.DayPeriods,N.Abbreviated,pe.Format,!0);break;case"BBBB":y=Ke(ie.DayPeriods,N.Wide,pe.Format,!0);break;case"BBBBB":y=Ke(ie.DayPeriods,N.Narrow,pe.Format,!0);break;case"h":y=lt(x.Hours,1,-12);break;case"hh":y=lt(x.Hours,2,-12);break;case"H":y=lt(x.Hours,1);break;case"HH":y=lt(x.Hours,2);break;case"m":y=lt(x.Minutes,1);break;case"mm":y=lt(x.Minutes,2);break;case"s":y=lt(x.Seconds,1);break;case"ss":y=lt(x.Seconds,2);break;case"S":y=lt(x.FractionalSeconds,1);break;case"SS":y=lt(x.FractionalSeconds,2);break;case"SSS":y=lt(x.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":y=Et(S.Short);break;case"ZZZZZ":y=Et(S.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":y=Et(S.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":y=Et(S.Long);break;default:return null}return rn[d]=y,y}(Ct);yt+=dt?dt(R,g,vt):"''"===Ct?"'":Ct.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),yt}function Ve(d,y,g){const _=new Date(0);return _.setFullYear(d,y,g),_.setHours(0,0,0),_}function Be(d,y){const g=function de(d){return(0,p.cg1)(d)[p.wAp.LocaleId]}(d);if(zt[g]=zt[g]||{},zt[g][y])return zt[g][y];let _="";switch(y){case"shortDate":_=Ie(d,_e.Short);break;case"mediumDate":_=Ie(d,_e.Medium);break;case"longDate":_=Ie(d,_e.Long);break;case"fullDate":_=Ie(d,_e.Full);break;case"shortTime":_=we(d,_e.Short);break;case"mediumTime":_=we(d,_e.Medium);break;case"longTime":_=we(d,_e.Long);break;case"fullTime":_=we(d,_e.Full);break;case"short":const R=Be(d,"shortTime"),le=Be(d,"shortDate");_=Re(He(d,_e.Short),[R,le]);break;case"medium":const Ce=Be(d,"mediumTime"),Ge=Be(d,"mediumDate");_=Re(He(d,_e.Medium),[Ce,Ge]);break;case"long":const vt=Be(d,"longTime"),yt=Be(d,"longDate");_=Re(He(d,_e.Long),[vt,yt]);break;case"full":const Ct=Be(d,"fullTime"),dt=Be(d,"fullDate");_=Re(He(d,_e.Full),[Ct,dt])}return _&&(zt[g][y]=_),_}function Re(d,y){return y&&(d=d.replace(/\{([^}]+)}/g,function(g,_){return null!=y&&_ in y?y[_]:g})),d}function $e(d,y,g="-",_,R){let le="";(d<0||R&&d<=0)&&(R?d=1-d:(d=-d,le=g));let Ce=String(d);for(;Ce.length0||Ge>-g)&&(Ge+=g),d===x.Hours)0===Ge&&-12===g&&(Ge=12);else if(d===x.FractionalSeconds)return function st(d,y){return $e(d,3).substring(0,y)}(Ge,y);const vt=We(Ce,F.MinusSign);return $e(Ge,y,vt,_,R)}}function Ke(d,y,g=pe.Format,_=!1){return function(R,le){return function xt(d,y,g,_,R,le){switch(g){case ie.Months:return function W(d,y,g){const _=(0,p.cg1)(d),le=Lt([_[p.wAp.MonthsFormat],_[p.wAp.MonthsStandalone]],y);return Lt(le,g)}(y,R,_)[d.getMonth()];case ie.Days:return function Ne(d,y,g){const _=(0,p.cg1)(d),le=Lt([_[p.wAp.DaysFormat],_[p.wAp.DaysStandalone]],y);return Lt(le,g)}(y,R,_)[d.getDay()];case ie.DayPeriods:const Ce=d.getHours(),Ge=d.getMinutes();if(le){const yt=function Ft(d){const y=(0,p.cg1)(d);return Rt(y),(y[p.wAp.ExtraData][2]||[]).map(_=>"string"==typeof _?Fn(_):[Fn(_[0]),Fn(_[1])])}(y),Ct=function Nt(d,y,g){const _=(0,p.cg1)(d);Rt(_);const le=Lt([_[p.wAp.ExtraData][0],_[p.wAp.ExtraData][1]],y)||[];return Lt(le,g)||[]}(y,R,_),dt=yt.findIndex(Ut=>{if(Array.isArray(Ut)){const[bt,Bt]=Ut,Gn=Ce>=bt.hours&&Ge>=bt.minutes,_n=Ce0?Math.floor(R/60):Math.ceil(R/60);switch(d){case S.Short:return(R>=0?"+":"")+$e(Ce,2,le)+$e(Math.abs(R%60),2,le);case S.ShortGMT:return"GMT"+(R>=0?"+":"")+$e(Ce,1,le);case S.Long:return"GMT"+(R>=0?"+":"")+$e(Ce,2,le)+":"+$e(Math.abs(R%60),2,le);case S.Extended:return 0===_?"Z":(R>=0?"+":"")+$e(Ce,2,le)+":"+$e(Math.abs(R%60),2,le);default:throw new Error(`Unknown zone width "${d}"`)}}}function Ln(d){return Ve(d.getFullYear(),d.getMonth(),d.getDate()+(4-d.getDay()))}function kn(d,y=!1){return function(g,_){let R;if(y){const le=new Date(g.getFullYear(),g.getMonth(),1).getDay()-1,Ce=g.getDate();R=1+Math.floor((Ce+le)/7)}else{const le=Ln(g),Ce=function kt(d){const y=Ve(d,0,1).getDay();return Ve(d,0,1+(y<=4?4:11)-y)}(le.getFullYear()),Ge=le.getTime()-Ce.getTime();R=1+Math.round(Ge/6048e5)}return $e(R,d,We(_,F.MinusSign))}}function Pn(d,y=!1){return function(g,_){return $e(Ln(g).getFullYear(),d,We(_,F.MinusSign),y)}}const rn={};function at(d,y){d=d.replace(/:/g,"");const g=Date.parse("Jan 01, 1970 00:00:00 "+d)/6e4;return isNaN(g)?y:g}function or(d){return d instanceof Date&&!isNaN(d.valueOf())}const wr=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Y=".",$="0";function Tt(d){const y=parseInt(d);if(isNaN(y))throw new Error("Invalid integer literal when parsing "+d);return y}function Sr(d,y){y=encodeURIComponent(y);for(const g of d.split(";")){const _=g.indexOf("="),[R,le]=-1==_?[g,""]:[g.slice(0,_),g.slice(_+1)];if(R.trim()===y)return decodeURIComponent(le)}return null}class xr{constructor(y,g,_,R){this.$implicit=y,this.ngForOf=g,this.index=_,this.count=R}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let yn=(()=>{class d{constructor(g,_,R){this._viewContainer=g,this._template=_,this._differs=R,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(g){this._ngForOf=g,this._ngForOfDirty=!0}set ngForTrackBy(g){this._trackByFn=g}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(g){g&&(this._template=g)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const g=this._ngForOf;!this._differ&&g&&(this._differ=this._differs.find(g).create(this.ngForTrackBy))}if(this._differ){const g=this._differ.diff(this._ngForOf);g&&this._applyChanges(g)}}_applyChanges(g){const _=this._viewContainer;g.forEachOperation((R,le,Ce)=>{if(null==R.previousIndex)_.createEmbeddedView(this._template,new xr(R.item,this._ngForOf,-1,-1),null===Ce?void 0:Ce);else if(null==Ce)_.remove(null===le?void 0:le);else if(null!==le){const Ge=_.get(le);_.move(Ge,Ce),Mn(Ge,R)}});for(let R=0,le=_.length;R{Mn(_.get(R.currentIndex),R)})}static ngTemplateContextGuard(g,_){return!0}}return d.\u0275fac=function(g){return new(g||d)(p.Y36(p.s_b),p.Y36(p.Rgc),p.Y36(p.ZZ4))},d.\u0275dir=p.lG2({type:d,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),d})();function Mn(d,y){d.context.$implicit=y.item}let mt=(()=>{class d{constructor(g,_){this._viewContainer=g,this._context=new ri,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=_}set ngIf(g){this._context.$implicit=this._context.ngIf=g,this._updateView()}set ngIfThen(g){xo("ngIfThen",g),this._thenTemplateRef=g,this._thenViewRef=null,this._updateView()}set ngIfElse(g){xo("ngIfElse",g),this._elseTemplateRef=g,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(g,_){return!0}}return d.\u0275fac=function(g){return new(g||d)(p.Y36(p.s_b),p.Y36(p.Rgc))},d.\u0275dir=p.lG2({type:d,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),d})();class ri{constructor(){this.$implicit=null,this.ngIf=null}}function xo(d,y){if(y&&!y.createEmbeddedView)throw new Error(`${d} must be a TemplateRef, but received '${(0,p.AaK)(y)}'.`)}class ar{constructor(y,g){this._viewContainerRef=y,this._templateRef=g,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(y){y&&!this._created?this.create():!y&&this._created&&this.destroy()}}let Sn=(()=>{class d{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(g){this._ngSwitch=g,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(g){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(g)}_matchCase(g){const _=g==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||_,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),_}_updateDefaultCases(g){if(this._defaultViews&&g!==this._defaultUsed){this._defaultUsed=g;for(let _=0;_{class d{constructor(g,_,R){this.ngSwitch=R,R._addCase(),this._view=new ar(g,_)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return d.\u0275fac=function(g){return new(g||d)(p.Y36(p.s_b),p.Y36(p.Rgc),p.Y36(Sn,9))},d.\u0275dir=p.lG2({type:d,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),d})(),Vt=(()=>{class d{constructor(g,_,R){this._ngEl=g,this._differs=_,this._renderer=R,this._ngStyle=null,this._differ=null}set ngStyle(g){this._ngStyle=g,!this._differ&&g&&(this._differ=this._differs.find(g).create())}ngDoCheck(){if(this._differ){const g=this._differ.diff(this._ngStyle);g&&this._applyChanges(g)}}_setStyle(g,_){const[R,le]=g.split("."),Ce=-1===R.indexOf("-")?void 0:p.JOm.DashCase;null!=_?this._renderer.setStyle(this._ngEl.nativeElement,R,le?`${_}${le}`:_,Ce):this._renderer.removeStyle(this._ngEl.nativeElement,R,Ce)}_applyChanges(g){g.forEachRemovedItem(_=>this._setStyle(_.key,null)),g.forEachAddedItem(_=>this._setStyle(_.key,_.currentValue)),g.forEachChangedItem(_=>this._setStyle(_.key,_.currentValue))}}return d.\u0275fac=function(g){return new(g||d)(p.Y36(p.SBq),p.Y36(p.aQg),p.Y36(p.Qsj))},d.\u0275dir=p.lG2({type:d,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),d})();function cn(d,y){return new p.vHH(2100,!1)}const aa=new p.OlP("DATE_PIPE_DEFAULT_TIMEZONE");let ns=(()=>{class d{constructor(g,_){this.locale=g,this.defaultTimezone=_}transform(g,_="mediumDate",R,le){if(null==g||""===g||g!=g)return null;try{return ge(g,_,le||this.locale,R??this.defaultTimezone??void 0)}catch(Ce){throw cn()}}}return d.\u0275fac=function(g){return new(g||d)(p.Y36(p.soG,16),p.Y36(aa,24))},d.\u0275pipe=p.Yjl({name:"date",type:d,pure:!0,standalone:!0}),d})(),ii=(()=>{class d{constructor(g){this._locale=g}transform(g,_,R){if(!function ur(d){return!(null==d||""===d||d!=d)}(g))return null;R=R||this._locale;try{return function wt(d,y,g){return function gt(d,y,g,_,R,le,Ce=!1){let Ge="",vt=!1;if(isFinite(d)){let yt=function Gt(d){let _,R,le,Ce,Ge,y=Math.abs(d)+"",g=0;for((R=y.indexOf(Y))>-1&&(y=y.replace(Y,"")),(le=y.search(/e/i))>0?(R<0&&(R=le),R+=+y.slice(le+1),y=y.substring(0,le)):R<0&&(R=y.length),le=0;y.charAt(le)===$;le++);if(le===(Ge=y.length))_=[0],R=1;else{for(Ge--;y.charAt(Ge)===$;)Ge--;for(R-=le,_=[],Ce=0;le<=Ge;le++,Ce++)_[Ce]=Number(y.charAt(le))}return R>22&&(_=_.splice(0,21),g=R-1,R=1),{digits:_,exponent:g,integerLen:R}}(d);Ce&&(yt=function On(d){if(0===d.digits[0])return d;const y=d.digits.length-d.integerLen;return d.exponent?d.exponent+=2:(0===y?d.digits.push(0,0):1===y&&d.digits.push(0),d.integerLen+=2),d}(yt));let Ct=y.minInt,dt=y.minFrac,Ut=y.maxFrac;if(le){const Wn=le.match(wr);if(null===Wn)throw new Error(`${le} is not a valid digit info`);const Kn=Wn[1],Kr=Wn[3],Yr=Wn[5];null!=Kn&&(Ct=Tt(Kn)),null!=Kr&&(dt=Tt(Kr)),null!=Yr?Ut=Tt(Yr):null!=Kr&&dt>Ut&&(Ut=dt)}!function ir(d,y,g){if(y>g)throw new Error(`The minimum number of digits after fraction (${y}) is higher than the maximum (${g}).`);let _=d.digits,R=_.length-d.integerLen;const le=Math.min(Math.max(y,R),g);let Ce=le+d.integerLen,Ge=_[Ce];if(Ce>0){_.splice(Math.max(d.integerLen,Ce));for(let dt=Ce;dt<_.length;dt++)_[dt]=0}else{R=Math.max(0,R),d.integerLen=1,_.length=Math.max(1,Ce=le+1),_[0]=0;for(let dt=1;dt=5)if(Ce-1<0){for(let dt=0;dt>Ce;dt--)_.unshift(0),d.integerLen++;_.unshift(1),d.integerLen++}else _[Ce-1]++;for(;R=yt?Bt.pop():vt=!1),Ut>=10?1:0},0);Ct&&(_.unshift(Ct),d.integerLen++)}(yt,dt,Ut);let bt=yt.digits,Bt=yt.integerLen;const Gn=yt.exponent;let _n=[];for(vt=bt.every(Wn=>!Wn);Bt0?_n=bt.splice(Bt,bt.length):(_n=bt,bt=[0]);const gn=[];for(bt.length>=y.lgSize&&gn.unshift(bt.splice(-y.lgSize,bt.length).join(""));bt.length>y.gSize;)gn.unshift(bt.splice(-y.gSize,bt.length).join(""));bt.length&&gn.unshift(bt.join("")),Ge=gn.join(We(g,_)),_n.length&&(Ge+=We(g,R)+_n.join("")),Gn&&(Ge+=We(g,F.Exponential)+"+"+Gn)}else Ge=We(g,F.Infinity);return Ge=d<0&&!vt?y.negPre+Ge+y.negSuf:y.posPre+Ge+y.posSuf,Ge}(d,function on(d,y="-"){const g={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},_=d.split(";"),R=_[0],le=_[1],Ce=-1!==R.indexOf(Y)?R.split(Y):[R.substring(0,R.lastIndexOf($)+1),R.substring(R.lastIndexOf($)+1)],Ge=Ce[0],vt=Ce[1]||"";g.posPre=Ge.substring(0,Ge.indexOf("#"));for(let Ct=0;Ct{class d{}return d.\u0275fac=function(g){return new(g||d)},d.\u0275mod=p.oAB({type:d}),d.\u0275inj=p.cJS({}),d})();const Po="browser";let Fo=(()=>{class d{}return d.\u0275prov=(0,p.Yz7)({token:d,providedIn:"root",factory:()=>new un((0,p.LFG)(q),window)}),d})();class un{constructor(y,g){this.document=y,this.window=g,this.offset=()=>[0,0]}setOffset(y){this.offset=Array.isArray(y)?()=>y:y}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(y){this.supportsScrolling()&&this.window.scrollTo(y[0],y[1])}scrollToAnchor(y){if(!this.supportsScrolling())return;const g=function $r(d,y){const g=d.getElementById(y)||d.getElementsByName(y)[0];if(g)return g;if("function"==typeof d.createTreeWalker&&d.body&&(d.body.createShadowRoot||d.body.attachShadow)){const _=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT);let R=_.currentNode;for(;R;){const le=R.shadowRoot;if(le){const Ce=le.getElementById(y)||le.querySelector(`[name="${y}"]`);if(Ce)return Ce}R=_.nextNode()}}return null}(this.document,y);g&&(this.scrollToElement(g),g.focus())}setHistoryScrollRestoration(y){if(this.supportScrollRestoration()){const g=this.window.history;g&&g.scrollRestoration&&(g.scrollRestoration=y)}}scrollToElement(y){const g=y.getBoundingClientRect(),_=g.left+this.window.pageXOffset,R=g.top+this.window.pageYOffset,le=this.offset();this.window.scrollTo(_-le[0],R-le[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const y=lo(this.window.history)||lo(Object.getPrototypeOf(this.window.history));return!(!y||!y.writable&&!y.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function lo(d){return Object.getOwnPropertyDescriptor(d,"scrollRestoration")}class os{}},529:(Pe,ae,D)=>{"use strict";D.d(ae,{JF:()=>At,TP:()=>Ne,Zn:()=>_e,eN:()=>de});var p=D(6895),w=D(8256),A=D(9646),V=D(9751),H=D(4351),ee=D(9300),q=D(4004);class J{}class oe{}class L{constructor(S){this.normalizedNames=new Map,this.lazyUpdate=null,S?this.lazyInit="string"==typeof S?()=>{this.headers=new Map,S.split("\n").forEach(x=>{const ie=x.indexOf(":");if(ie>0){const ge=x.slice(0,ie),Ve=ge.toLowerCase(),Be=x.slice(ie+1).trim();this.maybeSetNormalizedName(ge,Ve),this.headers.has(Ve)?this.headers.get(Ve).push(Be):this.headers.set(Ve,[Be])}})}:()=>{this.headers=new Map,Object.keys(S).forEach(x=>{let ie=S[x];const ge=x.toLowerCase();"string"==typeof ie&&(ie=[ie]),ie.length>0&&(this.headers.set(ge,ie),this.maybeSetNormalizedName(x,ge))})}:this.headers=new Map}has(S){return this.init(),this.headers.has(S.toLowerCase())}get(S){this.init();const x=this.headers.get(S.toLowerCase());return x&&x.length>0?x[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(S){return this.init(),this.headers.get(S.toLowerCase())||null}append(S,x){return this.clone({name:S,value:x,op:"a"})}set(S,x){return this.clone({name:S,value:x,op:"s"})}delete(S,x){return this.clone({name:S,value:x,op:"d"})}maybeSetNormalizedName(S,x){this.normalizedNames.has(x)||this.normalizedNames.set(x,S)}init(){this.lazyInit&&(this.lazyInit instanceof L?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(S=>this.applyUpdate(S)),this.lazyUpdate=null))}copyFrom(S){S.init(),Array.from(S.headers.keys()).forEach(x=>{this.headers.set(x,S.headers.get(x)),this.normalizedNames.set(x,S.normalizedNames.get(x))})}clone(S){const x=new L;return x.lazyInit=this.lazyInit&&this.lazyInit instanceof L?this.lazyInit:this,x.lazyUpdate=(this.lazyUpdate||[]).concat([S]),x}applyUpdate(S){const x=S.name.toLowerCase();switch(S.op){case"a":case"s":let ie=S.value;if("string"==typeof ie&&(ie=[ie]),0===ie.length)return;this.maybeSetNormalizedName(S.name,x);const ge=("a"===S.op?this.headers.get(x):void 0)||[];ge.push(...ie),this.headers.set(x,ge);break;case"d":const Ve=S.value;if(Ve){let Be=this.headers.get(x);if(!Be)return;Be=Be.filter(Re=>-1===Ve.indexOf(Re)),0===Be.length?(this.headers.delete(x),this.normalizedNames.delete(x)):this.headers.set(x,Be)}else this.headers.delete(x),this.normalizedNames.delete(x)}}forEach(S){this.init(),Array.from(this.normalizedNames.keys()).forEach(x=>S(this.normalizedNames.get(x),this.headers.get(x)))}}class P{encodeKey(S){return te(S)}encodeValue(S){return te(S)}decodeKey(S){return decodeURIComponent(S)}decodeValue(S){return decodeURIComponent(S)}}const M=/%(\d[a-f0-9])/gi,U={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function te(se){return encodeURIComponent(se).replace(M,(S,x)=>U[x]??S)}function Ee(se){return`${se}`}class ke{constructor(S={}){if(this.updates=null,this.cloneFrom=null,this.encoder=S.encoder||new P,S.fromString){if(S.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function K(se,S){const x=new Map;return se.length>0&&se.replace(/^\?/,"").split("&").forEach(ge=>{const Ve=ge.indexOf("="),[Be,Re]=-1==Ve?[S.decodeKey(ge),""]:[S.decodeKey(ge.slice(0,Ve)),S.decodeValue(ge.slice(Ve+1))],$e=x.get(Be)||[];$e.push(Re),x.set(Be,$e)}),x}(S.fromString,this.encoder)}else S.fromObject?(this.map=new Map,Object.keys(S.fromObject).forEach(x=>{const ie=S.fromObject[x],ge=Array.isArray(ie)?ie.map(Ee):[Ee(ie)];this.map.set(x,ge)})):this.map=null}has(S){return this.init(),this.map.has(S)}get(S){this.init();const x=this.map.get(S);return x?x[0]:null}getAll(S){return this.init(),this.map.get(S)||null}keys(){return this.init(),Array.from(this.map.keys())}append(S,x){return this.clone({param:S,value:x,op:"a"})}appendAll(S){const x=[];return Object.keys(S).forEach(ie=>{const ge=S[ie];Array.isArray(ge)?ge.forEach(Ve=>{x.push({param:ie,value:Ve,op:"a"})}):x.push({param:ie,value:ge,op:"a"})}),this.clone(x)}set(S,x){return this.clone({param:S,value:x,op:"s"})}delete(S,x){return this.clone({param:S,value:x,op:"d"})}toString(){return this.init(),this.keys().map(S=>{const x=this.encoder.encodeKey(S);return this.map.get(S).map(ie=>x+"="+this.encoder.encodeValue(ie)).join("&")}).filter(S=>""!==S).join("&")}clone(S){const x=new ke({encoder:this.encoder});return x.cloneFrom=this.cloneFrom||this,x.updates=(this.updates||[]).concat(S),x}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(S=>this.map.set(S,this.cloneFrom.map.get(S))),this.updates.forEach(S=>{switch(S.op){case"a":case"s":const x=("a"===S.op?this.map.get(S.param):void 0)||[];x.push(Ee(S.value)),this.map.set(S.param,x);break;case"d":if(void 0===S.value){this.map.delete(S.param);break}{let ie=this.map.get(S.param)||[];const ge=ie.indexOf(Ee(S.value));-1!==ge&&ie.splice(ge,1),ie.length>0?this.map.set(S.param,ie):this.map.delete(S.param)}}}),this.cloneFrom=this.updates=null)}}class fe{constructor(){this.map=new Map}set(S,x){return this.map.set(S,x),this}get(S){return this.map.has(S)||this.map.set(S,S.defaultValue()),this.map.get(S)}delete(S){return this.map.delete(S),this}has(S){return this.map.has(S)}keys(){return this.map.keys()}}function De(se){return typeof ArrayBuffer<"u"&&se instanceof ArrayBuffer}function me(se){return typeof Blob<"u"&&se instanceof Blob}function Q(se){return typeof FormData<"u"&&se instanceof FormData}class Z{constructor(S,x,ie,ge){let Ve;if(this.url=x,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=S.toUpperCase(),function ye(se){switch(se){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ge?(this.body=void 0!==ie?ie:null,Ve=ge):Ve=ie,Ve&&(this.reportProgress=!!Ve.reportProgress,this.withCredentials=!!Ve.withCredentials,Ve.responseType&&(this.responseType=Ve.responseType),Ve.headers&&(this.headers=Ve.headers),Ve.context&&(this.context=Ve.context),Ve.params&&(this.params=Ve.params)),this.headers||(this.headers=new L),this.context||(this.context=new fe),this.params){const Be=this.params.toString();if(0===Be.length)this.urlWithParams=x;else{const Re=x.indexOf("?");this.urlWithParams=x+(-1===Re?"?":ReHt.set(Ke,S.setHeaders[Ke]),$e)),S.setParams&&(st=Object.keys(S.setParams).reduce((Ht,Ke)=>Ht.set(Ke,S.setParams[Ke]),st)),new Z(x,ie,Ve,{params:st,headers:$e,context:lt,reportProgress:Re,responseType:ge,withCredentials:Be})}}var G=(()=>((G=G||{})[G.Sent=0]="Sent",G[G.UploadProgress=1]="UploadProgress",G[G.ResponseHeader=2]="ResponseHeader",G[G.DownloadProgress=3]="DownloadProgress",G[G.Response=4]="Response",G[G.User=5]="User",G))();class pe{constructor(S,x=200,ie="OK"){this.headers=S.headers||new L,this.status=void 0!==S.status?S.status:x,this.statusText=S.statusText||ie,this.url=S.url||null,this.ok=this.status>=200&&this.status<300}}class N extends pe{constructor(S={}){super(S),this.type=G.ResponseHeader}clone(S={}){return new N({headers:S.headers||this.headers,status:void 0!==S.status?S.status:this.status,statusText:S.statusText||this.statusText,url:S.url||this.url||void 0})}}class _e extends pe{constructor(S={}){super(S),this.type=G.Response,this.body=void 0!==S.body?S.body:null}clone(S={}){return new _e({body:void 0!==S.body?S.body:this.body,headers:S.headers||this.headers,status:void 0!==S.status?S.status:this.status,statusText:S.statusText||this.statusText,url:S.url||this.url||void 0})}}class F extends pe{constructor(S){super(S,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${S.url||"(unknown url)"}`:`Http failure response for ${S.url||"(unknown url)"}: ${S.status} ${S.statusText}`,this.error=S.error||null}}function Oe(se,S){return{body:S,headers:se.headers,context:se.context,observe:se.observe,params:se.params,reportProgress:se.reportProgress,responseType:se.responseType,withCredentials:se.withCredentials}}let de=(()=>{class se{constructor(x){this.handler=x}request(x,ie,ge={}){let Ve;if(x instanceof Z)Ve=x;else{let $e,st;$e=ge.headers instanceof L?ge.headers:new L(ge.headers),ge.params&&(st=ge.params instanceof ke?ge.params:new ke({fromObject:ge.params})),Ve=new Z(x,ie,void 0!==ge.body?ge.body:null,{headers:$e,context:ge.context,params:st,reportProgress:ge.reportProgress,responseType:ge.responseType||"json",withCredentials:ge.withCredentials})}const Be=(0,A.of)(Ve).pipe((0,H.b)($e=>this.handler.handle($e)));if(x instanceof Z||"events"===ge.observe)return Be;const Re=Be.pipe((0,ee.h)($e=>$e instanceof _e));switch(ge.observe||"body"){case"body":switch(Ve.responseType){case"arraybuffer":return Re.pipe((0,q.U)($e=>{if(null!==$e.body&&!($e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return $e.body}));case"blob":return Re.pipe((0,q.U)($e=>{if(null!==$e.body&&!($e.body instanceof Blob))throw new Error("Response is not a Blob.");return $e.body}));case"text":return Re.pipe((0,q.U)($e=>{if(null!==$e.body&&"string"!=typeof $e.body)throw new Error("Response is not a string.");return $e.body}));default:return Re.pipe((0,q.U)($e=>$e.body))}case"response":return Re;default:throw new Error(`Unreachable: unhandled observe type ${ge.observe}}`)}}delete(x,ie={}){return this.request("DELETE",x,ie)}get(x,ie={}){return this.request("GET",x,ie)}head(x,ie={}){return this.request("HEAD",x,ie)}jsonp(x,ie){return this.request("JSONP",x,{params:(new ke).append(ie,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(x,ie={}){return this.request("OPTIONS",x,ie)}patch(x,ie,ge={}){return this.request("PATCH",x,Oe(ge,ie))}post(x,ie,ge={}){return this.request("POST",x,Oe(ge,ie))}put(x,ie,ge={}){return this.request("PUT",x,Oe(ge,ie))}}return se.\u0275fac=function(x){return new(x||se)(w.LFG(J))},se.\u0275prov=w.Yz7({token:se,factory:se.\u0275fac}),se})();class Fe{constructor(S,x){this.next=S,this.interceptor=x}handle(S){return this.interceptor.intercept(S,this.next)}}const Ne=new w.OlP("HTTP_INTERCEPTORS");let W=(()=>{class se{intercept(x,ie){return ie.handle(x)}}return se.\u0275fac=function(x){return new(x||se)},se.\u0275prov=w.Yz7({token:se,factory:se.\u0275fac}),se})();const ft=/^\)\]\}',?\n/;let tt=(()=>{class se{constructor(x){this.xhrFactory=x}handle(x){if("JSONP"===x.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new V.y(ie=>{const ge=this.xhrFactory.build();if(ge.open(x.method,x.urlWithParams),x.withCredentials&&(ge.withCredentials=!0),x.headers.forEach((xt,Et)=>ge.setRequestHeader(xt,Et.join(","))),x.headers.has("Accept")||ge.setRequestHeader("Accept","application/json, text/plain, */*"),!x.headers.has("Content-Type")){const xt=x.detectContentTypeHeader();null!==xt&&ge.setRequestHeader("Content-Type",xt)}if(x.responseType){const xt=x.responseType.toLowerCase();ge.responseType="json"!==xt?xt:"text"}const Ve=x.serializeBody();let Be=null;const Re=()=>{if(null!==Be)return Be;const xt=ge.statusText||"OK",Et=new L(ge.getAllResponseHeaders()),Xt=function _t(se){return"responseURL"in se&&se.responseURL?se.responseURL:/^X-Request-URL:/m.test(se.getAllResponseHeaders())?se.getResponseHeader("X-Request-URL"):null}(ge)||x.url;return Be=new N({headers:Et,status:ge.status,statusText:xt,url:Xt}),Be},$e=()=>{let{headers:xt,status:Et,statusText:Xt,url:ut}=Re(),kt=null;204!==Et&&(kt=typeof ge.response>"u"?ge.responseText:ge.response),0===Et&&(Et=kt?200:0);let Ln=Et>=200&&Et<300;if("json"===x.responseType&&"string"==typeof kt){const kn=kt;kt=kt.replace(ft,"");try{kt=""!==kt?JSON.parse(kt):null}catch(Pn){kt=kn,Ln&&(Ln=!1,kt={error:Pn,text:kt})}}Ln?(ie.next(new _e({body:kt,headers:xt,status:Et,statusText:Xt,url:ut||void 0})),ie.complete()):ie.error(new F({error:kt,headers:xt,status:Et,statusText:Xt,url:ut||void 0}))},st=xt=>{const{url:Et}=Re(),Xt=new F({error:xt,status:ge.status||0,statusText:ge.statusText||"Unknown Error",url:Et||void 0});ie.error(Xt)};let lt=!1;const Ht=xt=>{lt||(ie.next(Re()),lt=!0);let Et={type:G.DownloadProgress,loaded:xt.loaded};xt.lengthComputable&&(Et.total=xt.total),"text"===x.responseType&&!!ge.responseText&&(Et.partialText=ge.responseText),ie.next(Et)},Ke=xt=>{let Et={type:G.UploadProgress,loaded:xt.loaded};xt.lengthComputable&&(Et.total=xt.total),ie.next(Et)};return ge.addEventListener("load",$e),ge.addEventListener("error",st),ge.addEventListener("timeout",st),ge.addEventListener("abort",st),x.reportProgress&&(ge.addEventListener("progress",Ht),null!==Ve&&ge.upload&&ge.upload.addEventListener("progress",Ke)),ge.send(Ve),ie.next({type:G.Sent}),()=>{ge.removeEventListener("error",st),ge.removeEventListener("abort",st),ge.removeEventListener("load",$e),ge.removeEventListener("timeout",st),x.reportProgress&&(ge.removeEventListener("progress",Ht),null!==Ve&&ge.upload&&ge.upload.removeEventListener("progress",Ke)),ge.readyState!==ge.DONE&&ge.abort()}})}}return se.\u0275fac=function(x){return new(x||se)(w.LFG(p.JF))},se.\u0275prov=w.Yz7({token:se,factory:se.\u0275fac}),se})();const it=new w.OlP("XSRF_COOKIE_NAME"),Rt=new w.OlP("XSRF_HEADER_NAME");class Ft{}let Nt=(()=>{class se{constructor(x,ie,ge){this.doc=x,this.platform=ie,this.cookieName=ge,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const x=this.doc.cookie||"";return x!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,p.Mx)(x,this.cookieName),this.lastCookieString=x),this.lastToken}}return se.\u0275fac=function(x){return new(x||se)(w.LFG(p.K0),w.LFG(w.Lbi),w.LFG(it))},se.\u0275prov=w.Yz7({token:se,factory:se.\u0275fac}),se})(),jt=(()=>{class se{constructor(x,ie){this.tokenService=x,this.headerName=ie}intercept(x,ie){const ge=x.url.toLowerCase();if("GET"===x.method||"HEAD"===x.method||ge.startsWith("http://")||ge.startsWith("https://"))return ie.handle(x);const Ve=this.tokenService.getToken();return null!==Ve&&!x.headers.has(this.headerName)&&(x=x.clone({headers:x.headers.set(this.headerName,Ve)})),ie.handle(x)}}return se.\u0275fac=function(x){return new(x||se)(w.LFG(Ft),w.LFG(Rt))},se.\u0275prov=w.Yz7({token:se,factory:se.\u0275fac}),se})(),Lt=(()=>{class se{constructor(x,ie){this.backend=x,this.injector=ie,this.chain=null}handle(x){if(null===this.chain){const ie=this.injector.get(Ne,[]);this.chain=ie.reduceRight((ge,Ve)=>new Fe(ge,Ve),this.backend)}return this.chain.handle(x)}}return se.\u0275fac=function(x){return new(x||se)(w.LFG(oe),w.LFG(w.zs3))},se.\u0275prov=w.Yz7({token:se,factory:se.\u0275fac}),se})(),mn=(()=>{class se{static disable(){return{ngModule:se,providers:[{provide:jt,useClass:W}]}}static withOptions(x={}){return{ngModule:se,providers:[x.cookieName?{provide:it,useValue:x.cookieName}:[],x.headerName?{provide:Rt,useValue:x.headerName}:[]]}}}return se.\u0275fac=function(x){return new(x||se)},se.\u0275mod=w.oAB({type:se}),se.\u0275inj=w.cJS({providers:[jt,{provide:Ne,useExisting:jt,multi:!0},{provide:Ft,useClass:Nt},{provide:it,useValue:"XSRF-TOKEN"},{provide:Rt,useValue:"X-XSRF-TOKEN"}]}),se})(),At=(()=>{class se{}return se.\u0275fac=function(x){return new(x||se)},se.\u0275mod=w.oAB({type:se}),se.\u0275inj=w.cJS({providers:[de,{provide:J,useClass:Lt},tt,{provide:oe,useExisting:tt}],imports:[mn.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),se})()},8256:(Pe,ae,D)=>{"use strict";D.d(ae,{tb:()=>$g,AFp:()=>Bg,ip1:()=>Ug,CZH:()=>mc,hGG:()=>ME,z2F:()=>yc,sBO:()=>uE,Sil:()=>z_,_Vd:()=>$s,EJc:()=>$_,Xts:()=>su,SBq:()=>Vs,lqb:()=>Zo,qLn:()=>zs,vpe:()=>Br,XFs:()=>S,OlP:()=>St,zs3:()=>Jo,ZZ4:()=>Nl,aQg:()=>Ll,soG:()=>vc,YKP:()=>$p,h0i:()=>Qi,PXZ:()=>rE,R0b:()=>rr,FiY:()=>Rs,Lbi:()=>B_,g9A:()=>Hg,Qsj:()=>oy,FYo:()=>af,JOm:()=>Nr,q3G:()=>Qt,tp0:()=>Fs,Rgc:()=>ra,dDg:()=>X_,eoX:()=>Zg,GfV:()=>cf,s_b:()=>hc,ifc:()=>Ht,MMx:()=>ll,Lck:()=>LC,eFA:()=>Qg,G48:()=>cE,f3M:()=>ed,_c5:()=>bE,c2e:()=>j_,zSh:()=>uu,wAp:()=>Qe,vHH:()=>me,lri:()=>Kg,rWj:()=>Yg,EiD:()=>Gd,mCW:()=>ja,qzn:()=>Oi,JVY:()=>wv,pB0:()=>Iv,eBb:()=>Mv,L6k:()=>bv,LAX:()=>Sv,D6c:()=>SE,cg1:()=>nl,kL8:()=>pp,dqk:()=>Ke,Z0I:()=>jt,sIi:()=>Ks,CqO:()=>_h,QGY:()=>Yu,QP$:()=>Ye,F4k:()=>Ch,RDi:()=>mv,AaK:()=>te,z3N:()=>qr,TTD:()=>Oo,jDz:()=>zp,xp6:()=>vf,uIk:()=>zu,ekj:()=>Qu,Suo:()=>gg,Xpm:()=>Jn,lG2:()=>Y,Yz7:()=>it,cJS:()=>Ft,oAB:()=>or,Yjl:()=>$,Y36:()=>ki,_UZ:()=>Ku,BQk:()=>ic,ynx:()=>oc,qZA:()=>rc,TgZ:()=>nc,EpF:()=>Dh,LFG:()=>nn,$8M:()=>jo,$Z:()=>Af,NdJ:()=>Zu,CRH:()=>mg,kcU:()=>vo,O4$:()=>wi,oxw:()=>Sh,ALo:()=>ig,lcZ:()=>sg,xi3:()=>ag,Q6J:()=>Gu,DdM:()=>qp,VKq:()=>Qp,WLB:()=>Xp,iGM:()=>hg,KtG:()=>It,evT:()=>lf,Jf7:()=>uf,CHM:()=>No,oJD:()=>Wd,LSH:()=>iu,Akn:()=>Dr,Udp:()=>qu,YNc:()=>vh,_uU:()=>Zh,Oqu:()=>el,hij:()=>ac,AsE:()=>tl,Gf:()=>pg});var p=D(7579),w=D(727),A=D(9751),V=D(8189),H=D(8421),ee=D(515),q=D(3269),J=D(2076),L=D(930),ne=D(4482);function K(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new L.Hp({next:()=>{r.unsubscribe(),e()}});return(0,H.Xf)(t(...n)).subscribe(r)}function M(e){for(let t in e)if(e[t]===M)return t;throw Error("Could not find renamed property on target object.")}function te(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(te).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ee(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ke=M({__forward_ref__:M});function Me(e){return e.__forward_ref__=Me,e.toString=function(){return te(this())},e}function fe(e){return function ye(e){return"function"==typeof e&&e.hasOwnProperty(ke)&&e.__forward_ref__===Me}(e)?e():e}class me extends Error{constructor(t,n){super(function Q(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function z(e){return"string"==typeof e?e:null==e?"":String(e)}function _e(e,t){throw new me(-201,!1)}function ht(e,t){null==e&&function Ue(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function it(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ft(e){return{providers:e.providers||[],imports:e.imports||[]}}function Nt(e){return Lt(e,At)||Lt(e,zt)}function jt(e){return null!==Nt(e)}function Lt(e,t){return e.hasOwnProperty(t)?e[t]:null}function mn(e){return e&&(e.hasOwnProperty(qe)||e.hasOwnProperty(se))?e[qe]:null}const At=M({\u0275prov:M}),qe=M({\u0275inj:M}),zt=M({ngInjectableDef:M}),se=M({ngInjectorDef:M});var S=(()=>((S=S||{})[S.Default=0]="Default",S[S.Host=1]="Host",S[S.Self=2]="Self",S[S.SkipSelf=4]="SkipSelf",S[S.Optional=8]="Optional",S))();let x;function ge(e){const t=x;return x=e,t}function Ve(e,t,n){const r=Nt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&S.Optional?null:void 0!==t?t:void _e(te(e))}function Re(e){return{toString:e}.toString()}var $e=(()=>(($e=$e||{})[$e.OnPush=0]="OnPush",$e[$e.Default=1]="Default",$e))(),Ht=(()=>{return(e=Ht||(Ht={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ht;var e})();const Ke=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Xt={},ut=[],kt=M({\u0275cmp:M}),Ln=M({\u0275dir:M}),kn=M({\u0275pipe:M}),Pn=M({\u0275mod:M}),rn=M({\u0275fac:M}),vn=M({__NG_ELEMENT_ID__:M});let at=0;function Jn(e){return Re(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===$e.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||ut,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Ht.Emulated,id:"c"+at++,styles:e.styles||ut,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,s=e.features;return o.inputs=ro(e.inputs,r),o.outputs=ro(e.outputs),s&&s.forEach(l=>l(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Un).filter(jr):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(he).filter(jr):null,o})}function Un(e){return b(e)||j(e)}function jr(e){return null!==e}function or(e){return Re(()=>({type:e.type,bootstrap:e.bootstrap||ut,declarations:e.declarations||ut,imports:e.imports||ut,exports:e.exports||ut,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function ro(e,t){if(null==e)return Xt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const Y=Jn;function $(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function b(e){return e[kt]||null}function j(e){return e[Ln]||null}function he(e){return e[kn]||null}function Ye(e){const t=b(e)||j(e)||he(e);return null!==t&&t.standalone}function Je(e,t){const n=e[Pn]||null;if(!n&&!0===t)throw new Error(`Type ${te(e)} does not have '\u0275mod' property.`);return n}function Vt(e){return Array.isArray(e)&&"object"==typeof e[1]}function In(e){return Array.isArray(e)&&!0===e[1]}function io(e){return 0!=(8&e.flags)}function cn(e){return 2==(2&e.flags)}function Hr(e){return 1==(1&e.flags)}function Dn(e){return null!==e.template}function Hn(e){return 0!=(256&e[2])}function Xn(e,t){return e.hasOwnProperty(rn)?e[rn]:null}class Po{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Oo(){return $n}function $n(e){return e.type.prototype.ngOnChanges&&(e.setInput=ga),si}function si(){const e=ai(this),t=e?.current;if(t){const n=e.previous;if(n===Xt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function ga(e,t,n,r){const o=ai(e)||function ci(e,t){return e[uo]=t}(e,{previous:Xt,current:null}),i=o.current||(o.current={}),s=o.previous,l=this.declaredInputs[n],h=s[l];i[l]=new Po(h&&h.currentValue,t,s===Xt),e[r]=t}Oo.ngInherit=!0;const uo="__ngSimpleChanges__";function ai(e){return e[uo]||null}function Pt(e){for(;Array.isArray(e);)e=e[0];return e}function Vr(e,t){return Pt(t[e])}function dn(e,t){return Pt(t[e.index])}function Pr(e,t){return e.data[t]}function xn(e,t){return e[t]}function fn(e,t){const n=t[e];return Vt(n)?n:n[0]}function zr(e){return 64==(64&e[2])}function lr(e,t){return null==t?null:e[t]}function us(e){e[18]=0}function di(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const ot={lFrame:ms(null),bindingsEnabled:!0};function hn(){return ot.bindingsEnabled}function be(){return ot.lFrame.lView}function pt(){return ot.lFrame.tView}function No(e){return ot.lFrame.contextLView=e,e[8]}function It(e){return ot.lFrame.contextLView=null,e}function Wt(){let e=fs();for(;null!==e&&64===e.type;)e=e.parent;return e}function fs(){return ot.lFrame.currentTNode}function pn(e,t){const n=ot.lFrame;n.currentTNode=e,n.isParent=t}function pi(){return ot.lFrame.isParent}function gi(){ot.lFrame.isParent=!1}function tn(){const e=ot.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function tr(){return ot.lFrame.bindingIndex++}function Cn(e){const t=ot.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Wr(e,t){const n=ot.lFrame;n.bindingIndex=n.bindingRootIndex=e,vi(t)}function vi(e){ot.lFrame.currentDirectiveIndex=e}function Di(){return ot.lFrame.currentQueryIndex}function go(e){ot.lFrame.currentQueryIndex=e}function ya(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ps(e,t,n){if(n&S.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&S.Host||(o=ya(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=ot.lFrame=gs();return r.currentTNode=t,r.lView=e,!0}function Ci(e){const t=gs(),n=e[1];ot.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function gs(){const e=ot.lFrame,t=null===e?null:e.child;return null===t?ms(e):t}function ms(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function _i(){const e=ot.lFrame;return ot.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const vs=_i;function mo(){const e=_i();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Kt(){return ot.lFrame.selectedIndex}function fr(e){ot.lFrame.selectedIndex=e}function Ot(){const e=ot.lFrame;return Pr(e.tView,e.selectedIndex)}function wi(){ot.lFrame.currentNamespace="svg"}function vo(){!function Ds(){ot.lFrame.currentNamespace=null}()}function Or(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[h]<0&&(e[18]+=65536),(l>11>16&&(3&e[2])===t){e[2]+=2048;try{i.call(l)}finally{}}}else try{i.call(l)}finally{}}const y=-1;class g{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function dt(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;i>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Kr=!0;function Yr(e){const t=Kr;return Kr=e,t}let Ea=0;const Rn={};function Do(e,t){const n=Es(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ba(r.data,e),ba(t,null),ba(r.blueprint,null));const o=bi(e,t),i=e.injectorIndex;if(_n(o)){const s=gn(o),l=Kn(o,t),h=l[1].data;for(let v=0;v<8;v++)t[i+v]=l[s+v]|h[s+v]}return t[i+8]=o,i}function ba(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Es(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function bi(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=bs(o),null===r)return y;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return y}function Mi(e,t,n){!function wa(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(vn)&&(r=n[vn]),null==r&&(r=n[vn]=Ea++);const o=255&r;t.data[e+(o>>5)]|=1<=0?255&t:Sc:t}(n);if("function"==typeof i){if(!ps(t,e,r))return r&S.Host?Bo(o,0,r):ws(t,n,r,o);try{const s=i(r);if(null!=s||r&S.Optional)return s;_e()}finally{vs()}}else if("number"==typeof i){let s=null,l=Es(e,t),h=y,v=r&S.Host?t[16][6]:null;for((-1===l||r&S.SkipSelf)&&(h=-1===l?bi(e,t):t[l+8],h!==y&&Sa(r,!1)?(s=t[1],l=gn(h),t=Kn(h,t)):l=-1);-1!==l;){const E=t[1];if(Ma(i,l,E.data)){const I=bc(l,t,n,s,r,v);if(I!==Rn)return I}h=t[l+8],h!==y&&Sa(r,t[1].data[l+8]===v)&&Ma(i,l,t)?(s=E,l=gn(h),t=Kn(h,t)):l=-1}}return o}function bc(e,t,n,r,o,i){const s=t[1],l=s.data[e+8],E=xi(l,s,n,null==r?cn(l)&&Kr:r!=s&&0!=(3&l.type),o&S.Host&&i===l);return null!==E?Rr(t,s,E,l):Rn}function xi(e,t,n,r,o){const i=e.providerIndexes,s=t.data,l=1048575&i,h=e.directiveStart,E=i>>20,k=o?l+E:e.directiveEnd;for(let X=r?l:l+E;X=h&&ve.type===n)return X}if(o){const X=s[h];if(X&&Dn(X)&&X.type===n)return h}return null}function Rr(e,t,n,r){let o=e[n];const i=t.data;if(function _(e){return e instanceof g}(o)){const s=o;s.resolving&&function G(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new me(-200,`Circular dependency in DI detected for ${e}${n}`)}(function Z(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():z(e)}(i[n]));const l=Yr(s.canSeeViewProviders);s.resolving=!0;const h=s.injectImpl?ge(s.injectImpl):null;ps(e,r,S.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function ko(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=$n(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==h&&ge(h),Yr(l),s.resolving=!1,vs()}}return o}function Ma(e,t,n){return!!(n[t+(e>>5)]&1<{const r=function xa(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return l.annotation=s,l;function l(h,v,E){const I=h.hasOwnProperty(Zr)?h[Zr]:Object.defineProperty(h,Zr,{value:[]})[Zr];for(;I.length<=E;)I.push(null);return(I[E]=I[E]||[]).push(s),h}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class St{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=it({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ln(e,t){void 0===t&&(t=e);for(let n=0;nArray.isArray(n)?Fr(n,t):t(n))}function Ts(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ti(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function En(e,t,n){let r=zo(e,t);return r>=0?e[1|r]=n:(r=~r,function Pc(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function As(e,t){const n=zo(e,t);if(n>=0)return e[1|n]}function zo(e,t){return function u(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((Nr=Nr||{})[Nr.Important=1]="Important",Nr[Nr.DashCase=2]="DashCase",Nr))();const kc=new Map;let Um=0;const Bc="__ngContext__";function wn(e,t){Vt(t)?(e[Bc]=t[20],function jm(e){kc.set(e[20],e)}(t)):e[Bc]=t}function Hc(e,t){return undefined(e,t)}function Us(e){const t=e[3];return In(t)?t[3]:t}function $c(e){return Cd(e[13])}function Vc(e){return Cd(e[4])}function Cd(e){for(;null!==e&&!In(e);)e=e[4];return e}function Pi(e,t,n,r,o){if(null!=r){let i,s=!1;In(r)?i=r:Vt(r)&&(s=!0,r=r[0]);const l=Pt(r);0===e&&null!==n?null==o?Sd(t,n,l):Go(t,n,l,o||null,!0):1===e&&null!==n?Go(t,n,l,o||null,!0):2===e?function Jc(e,t,n){const r=Na(e,t);r&&function cv(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,l,s):3===e&&t.destroyNode(l),null!=i&&function dv(e,t,n,r,o){const i=n[7];i!==Pt(n)&&Pi(t,e,r,i,o);for(let l=10;l0&&(e[n-1][4]=r[4]);const i=Ti(e,10+t);!function ev(e,t){Bs(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function wd(e,t){if(!(128&t[2])){const n=t[11];n.destroyNode&&Bs(e,t,n,3,null,null),function rv(e){let t=e[13];if(!t)return Kc(e[1],e);for(;t;){let n=null;if(Vt(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Vt(t)&&Kc(t[1],t),t=t[3];null===t&&(t=e),Vt(t)&&Kc(t[1],t),n=t&&t[4]}t=n}}(t)}}function Kc(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function av(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[o=v]():r[o=-v].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;ie,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ua}()?.createHTML(e)||e}function mv(e){eu=e}function Ld(e){return function tu(){if(void 0===Ba&&(Ba=null,Ke.trustedTypes))try{Ba=Ke.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ba}()?.createHTML(e)||e}class Ko{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class vv extends Ko{getTypeName(){return"HTML"}}class yv extends Ko{getTypeName(){return"Style"}}class Dv extends Ko{getTypeName(){return"Script"}}class Cv extends Ko{getTypeName(){return"URL"}}class _v extends Ko{getTypeName(){return"ResourceURL"}}function qr(e){return e instanceof Ko?e.changingThisBreaksApplicationSecurity:e}function Oi(e,t){const n=function Ev(e){return e instanceof Ko&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function wv(e){return new vv(e)}function bv(e){return new yv(e)}function Mv(e){return new Dv(e)}function Sv(e){return new Cv(e)}function Iv(e){return new _v(e)}class xv{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t=""+t;try{const n=(new window.DOMParser).parseFromString(Wo(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Tv{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=Wo(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=Wo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let o=n.length-1;0"),!0}endElement(t){const n=t.nodeName.toLowerCase();nu.hasOwnProperty(n)&&!jd.hasOwnProperty(n)&&(this.buf.push(""),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(zd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Fv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Nv=/([^\#-~ |!])/g;function zd(e){return e.replace(/&/g,"&").replace(Fv,function(t){return""+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Nv,function(t){return""+t.charCodeAt(0)+";"}).replace(//g,">")}let Ha;function Gd(e,t){let n=null;try{Ha=Ha||function Bd(e){const t=new Tv(e);return function Av(){try{return!!(new window.DOMParser).parseFromString(Wo(""),"text/html")}catch{return!1}}()?new xv(t):t}(e);let r=t?String(t):"";n=Ha.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Ha.getInertBodyElement(r)}while(r!==i);return Wo((new Rv).sanitizeChildren(ou(n)||n))}finally{if(n){const r=ou(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function ou(e){return"content"in e&&function Lv(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Qt=(()=>((Qt=Qt||{})[Qt.NONE=0]="NONE",Qt[Qt.HTML=1]="HTML",Qt[Qt.STYLE=2]="STYLE",Qt[Qt.SCRIPT=3]="SCRIPT",Qt[Qt.URL=4]="URL",Qt[Qt.RESOURCE_URL=5]="RESOURCE_URL",Qt))();function Wd(e){const t=Hs();return t?Ld(t.sanitize(Qt.HTML,e)||""):Oi(e,"HTML")?Ld(qr(e)):Gd(function Nd(){return void 0!==eu?eu:typeof document<"u"?document:void 0}(),z(e))}function iu(e){const t=Hs();return t?t.sanitize(Qt.URL,e)||"":Oi(e,"URL")?qr(e):ja(z(e))}function Hs(){const e=be();return e&&e[12]}const su=new St("ENVIRONMENT_INITIALIZER"),Yd=new St("INJECTOR",-1),Zd=new St("INJECTOR_DEF_TYPES");class Jd{get(t,n=je){if(n===je){const r=new Error(`NullInjectorError: No provider for ${te(t)}!`);throw r.name="NullInjectorError",r}return n}}function Vv(...e){return{\u0275providers:qd(0,e)}}function qd(e,...t){const n=[],r=new Set;let o;return Fr(t,i=>{const s=i;au(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&Qd(o,n),n}function Qd(e,t){for(let n=0;n{t.push(i)})}}function au(e,t,n,r){if(!(e=fe(e)))return!1;let o=null,i=mn(e);const s=!i&&b(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const h=e.ngModule;if(i=mn(h),!i)return!1;o=h}const l=r.has(o);if(s){if(l)return!1;if(r.add(o),s.dependencies){const h="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const v of h)au(v,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!l){let v;r.add(o);try{Fr(i.imports,E=>{au(E,t,n,r)&&(v||(v=[]),v.push(E))})}finally{}void 0!==v&&Qd(v,t)}if(!l){const v=Xn(o)||(()=>new o);t.push({provide:o,useFactory:v,deps:ut},{provide:Zd,useValue:o,multi:!0},{provide:su,useValue:()=>nn(o),multi:!0})}const h=i.providers;null==h||l||Fr(h,E=>{t.push(E)})}}return o!==e&&void 0!==e.providers}const zv=M({provide:String,useValue:M});function cu(e){return null!==e&&"object"==typeof e&&zv in e}function Yo(e){return"function"==typeof e}const uu=new St("Set Injector scope."),$a={},Wv={};let lu;function Va(){return void 0===lu&&(lu=new Jd),lu}class Zo{}class tf extends Zo{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,fu(t,s=>this.processProvider(s)),this.records.set(Yd,Ri(void 0,this)),o.has("environment")&&this.records.set(Zo,Ri(void 0,this));const i=this.records.get(uu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Zd.multi,ut,S.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=bo(this),r=ge(void 0);try{return t()}finally{bo(n),ge(r)}}get(t,n=je,r=S.Default){this.assertNotDestroyed();const o=bo(this),i=ge(void 0);try{if(!(r&S.SkipSelf)){let l=this.records.get(t);if(void 0===l){const h=function qv(e){return"function"==typeof e||"object"==typeof e&&e instanceof St}(t)&&Nt(t);l=h&&this.injectableDefInScope(h)?Ri(du(t),$a):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}return(r&S.Self?Va():this.parent).get(t,n=r&S.Optional&&n===je?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[sn]=s[sn]||[]).unshift(te(t)),o)throw s;return function _m(e,t,n,r){const o=e[sn];throw t[Ps]&&o.unshift(t[Ps]),e.message=function Em(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=te(t);if(Array.isArray(t))o=t.map(te).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let l=t[s];i.push(s+":"+("string"==typeof l?JSON.stringify(l):te(l)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Jr,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[sn]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{ge(i),bo(o)}}resolveInjectorInitializers(){const t=bo(this),n=ge(void 0);try{const r=this.get(su.multi,ut,S.Self);for(const o of r)o()}finally{bo(t),ge(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(te(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new me(205,!1)}processProvider(t){let n=Yo(t=fe(t))?t:fe(t&&t.provide);const r=function Yv(e){return cu(e)?Ri(void 0,e.useValue):Ri(function nf(e,t,n){let r;if(Yo(e)){const o=fe(e);return Xn(o)||du(o)}if(cu(e))r=()=>fe(e.useValue);else if(function ef(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Oc(e.deps||[]));else if(function Xd(e){return!(!e||!e.useExisting)}(e))r=()=>nn(fe(e.useExisting));else{const o=fe(e&&(e.useClass||e.provide));if(!function Zv(e){return!!e.deps}(e))return Xn(o)||du(o);r=()=>new o(...Oc(e.deps))}return r}(e),$a)}(t);if(Yo(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Ri(void 0,$a,!0),o.factory=()=>Oc(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===$a&&(n.value=Wv,n.value=n.factory()),"object"==typeof n.value&&n.value&&function Jv(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=fe(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function du(e){const t=Nt(e),n=null!==t?t.factory:Xn(e);if(null!==n)return n;if(e instanceof St)throw new me(204,!1);if(e instanceof Function)return function Kv(e){const t=e.length;if(t>0)throw function Vo(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new me(204,!1)}function Ri(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function Qv(e){return!!e.\u0275providers}function fu(e,t){for(const n of e)Array.isArray(n)?fu(n,t):Qv(n)?fu(n.\u0275providers,t):t(n)}class rf{}class ty{resolveComponentFactory(t){throw function ey(e){const t=Error(`No component factory found for ${te(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let $s=(()=>{class e{}return e.NULL=new ty,e})();function ny(){return Fi(Wt(),be())}function Fi(e,t){return new Vs(dn(e,t))}let Vs=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=ny,e})();function ry(e){return e instanceof Vs?e.nativeElement:e}class af{}let oy=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function iy(){const e=be(),n=fn(Wt().index,e);return(Vt(n)?n:e)[11]}(),e})(),sy=(()=>{class e{}return e.\u0275prov=it({token:e,providedIn:"root",factory:()=>null}),e})();class cf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ay=new cf("14.3.0"),hu={};function gu(e){return e.ngOriginalError}class zs{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&gu(t);for(;n&&gu(n);)n=gu(n);return n||null}}function uf(e){return e.ownerDocument.defaultView}function lf(e){return e.ownerDocument}function Xr(e){return e instanceof Function?e():e}function ff(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const hf="ng-template";function my(e,t,n){let r=0;for(;ri?"":o[I+1].toLowerCase();const X=8&r?k:null;if(X&&-1!==ff(X,v,0)||2&r&&v!==k){if(vr(r))return!1;s=!0}}}}else{if(!s&&!vr(r)&&!vr(h))return!1;if(s&&vr(h))continue;s=!1,r=h|1&r}}return vr(r)||s}function vr(e){return 0==(1&e)}function Dy(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+l+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!vr(s)&&(t+=mf(i,o),o=""),r=s,i=i||!vr(r);n++}return""!==o&&(t+=mf(i,o)),t}const ct={};function vf(e){yf(pt(),be(),Kt()+e,!1)}function yf(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&yo(t,i,n)}else{const i=e.preOrderHooks;null!==i&&hr(t,i,0,n)}fr(n)}function Ef(e,t=null,n=null,r){const o=wf(e,t,n,r);return o.resolveInjectorInitializers(),o}function wf(e,t=null,n=null,r,o=new Set){const i=[n||ut,Vv(e)];return r=r||("object"==typeof e?void 0:te(e)),new tf(i,t||Va(),r||null,o)}let Jo=(()=>{class e{static create(n,r){if(Array.isArray(n))return Ef({name:""},r,n,"");{const o=n.name??"";return Ef({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=je,e.NULL=new Jd,e.\u0275prov=it({token:e,providedIn:"any",factory:()=>nn(Yd)}),e.__NG_ELEMENT_ID__=-1,e})();function ki(e,t=S.Default){const n=be();return null===n?nn(e,t):Si(Wt(),n,fe(e),t)}function Af(){throw new Error("invalid")}function Ga(e,t){return e<<17|t<<2}function yr(e){return e>>17&32767}function Cu(e){return 2|e}function eo(e){return(131068&e)>>2}function _u(e,t){return-131069&e|t<<2}function Eu(e){return 1|e}function Hf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r22&&yf(e,t,22,!1),n(r,o)}finally{fr(i)}}function Vf(e,t,n){if(io(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(l)!=h&&l.push(h),l.push(r,o,s)}}function Jf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function qf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function m0(e,t,n){if(n){if(t.exportAs)for(let r=0;r0&&ku(n)}}function ku(e){for(let r=$c(e);null!==r;r=Vc(r))for(let o=10;o0&&ku(i)}const n=e[1].components;if(null!==n)for(let r=0;r0&&ku(o)}}function w0(e,t){const n=fn(t,e),r=n[1];(function b0(e,t){for(let n=t.length;n-1&&(Wc(t,r),Ti(n,r))}this._attachedToViewContainer=!1}wd(this._lView[1],this._lView)}onDestroy(t){Gf(this._lView[1],this._lView,null,t)}markForCheck(){Uu(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){qa(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new me(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function nv(e,t){Bs(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new me(902,!1);this._appRef=t}}class M0 extends Gs{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;qa(t[1],t,t[8],!1)}checkNoChanges(){}get context(){return null}}class Hu extends $s{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=b(t);return new Ws(n,this.ngModule)}}function ih(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class I0{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,hu,r);return o!==hu||n===hu?o:this.parentInjector.get(t,n,r)}}class Ws extends rf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function My(e){return e.map(by).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return ih(this.componentDef.inputs)}get outputs(){return ih(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Zo?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new I0(t,i):t,l=s.get(af,null);if(null===l)throw new me(407,!1);const h=s.get(sy,null),v=l.createRenderer(null,this.componentDef),E=this.componentDef.selectors[0][0]||"div",I=r?function s0(e,t,n){return e.selectRootElement(t,n===Ht.ShadowDom)}(v,r,this.componentDef.encapsulation):Gc(v,E,function S0(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(E)),k=this.componentDef.onPush?288:272,X=Fu(0,null,null,1,0,null,null,null,null,null),ve=Ya(null,X,null,k,null,null,l,v,h,s,null);let xe,Le;Ci(ve);try{const ze=function A0(e,t,n,r,o,i){const s=n[1];n[22]=e;const h=Ui(s,22,2,"#host",null),v=h.mergedAttrs=t.hostAttrs;null!==v&&(Qa(h,v,!0),null!==e&&(dt(o,e,v),null!==h.classes&&Qc(o,e,h.classes),null!==h.styles&&Fd(o,e,h.styles)));const E=r.createRenderer(e,t),I=Ya(n,zf(t),null,t.onPush?32:16,n[22],h,r,E,i||null,null,null);return s.firstCreatePass&&(Mi(Do(h,n),s,t.type),qf(s,h),Qf(h,n.length,1)),Ja(n,I),n[22]=I}(I,this.componentDef,ve,l,v);if(I)if(r)dt(v,I,["ng-version",ay.full]);else{const{attrs:Ze,classes:Se}=function Sy(e){const t=[],n=[];let r=1,o=2;for(;r0&&Qc(v,I,Se.join(" "))}if(Le=Pr(X,22),void 0!==n){const Ze=Le.projection=[];for(let Se=0;Sel(Pt(Mt[r.index])):r.index;let et=null;if(!l&&h&&(et=function Z0(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;ih?l[h]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==et)(et.__ngLastListenerFn__||et).__ngNextListenerFn__=i,et.__ngLastListenerFn__=i,X=!1;else{i=Mh(r,t,I,i,!1);const Mt=n.listen(ze,o,i);k.push(i,Mt),E&&E.push(o,Se,Ze,Ze+1)}}else i=Mh(r,t,I,i,!1);const ve=r.outputs;let xe;if(X&&null!==ve&&(xe=ve[o])){const Le=xe.length;if(Le)for(let ze=0;ze0;)t=t[15],e--;return t}(e,ot.lFrame.contextLView))[8]}(e)}function Lh(e,t,n,r,o){const i=e[n+1],s=null===t;let l=r?yr(i):eo(i),h=!1;for(;0!==l&&(!1===h||s);){const E=e[l+1];tD(e[l],t)&&(h=!0,e[l+1]=r?Eu(E):Cu(E)),l=r?yr(E):eo(E)}h&&(e[n+1]=r?Cu(i):Eu(i))}function tD(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&zo(e,t)>=0}const an={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function kh(e){return e.substring(an.key,an.keyEnd)}function nD(e){return e.substring(an.value,an.valueEnd)}function Bh(e,t){const n=an.textEnd;let r=an.key=Zi(e,t,n);return n===r?-1:(r=an.keyEnd=function sD(e,t,n){let r;for(;t=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Hh(e,r,n),r=an.value=Zi(e,r,n),r=an.valueEnd=function aD(e,t,n){let r=-1,o=-1,i=-1,s=t,l=s;for(;s32&&(l=s),i=o,o=r,r=-33&h}return l}(e,r,n),Hh(e,r,n))}function Zi(e,t,n){for(;t=0;n=Bh(t,n))Gh(e,kh(t),nD(t))}function Cr(e,t,n,r){const o=be(),i=pt(),s=Cn(2);i.firstUpdatePass&&zh(i,e,s,r),t!==ct&&bn(o,s,t)&&Wh(i,i.data[Kt()],o,o[11],e,o[s+1]=function mD(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=te(qr(e)))),e}(t,n),r,s)}function Vh(e,t){return t>=e.expandoStartIndex}function zh(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Kt()],s=Vh(e,n);Yh(i,r)&&null===t&&!s&&(t=!1),t=function lD(e,t,n,r){const o=function yi(e){const t=ot.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Zs(n=Xu(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Xu(o,e,t,n,r),null===i){let h=function dD(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==eo(r))return e[yr(r)]}(e,t,r);void 0!==h&&Array.isArray(h)&&(h=Xu(null,e,t,h[1],r),h=Zs(h,t.attrs,r),function fD(e,t,n,r){e[yr(n?t.classBindings:t.styleBindings)]=r}(e,t,r,h))}else i=function hD(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(v=!0)}else E=n;if(o)if(0!==h){const k=yr(e[l+1]);e[r+1]=Ga(k,l),0!==k&&(e[k+1]=_u(e[k+1],r)),e[l+1]=function Gy(e,t){return 131071&e|t<<17}(e[l+1],r)}else e[r+1]=Ga(l,0),0!==l&&(e[l+1]=_u(e[l+1],r)),l=r;else e[r+1]=Ga(h,0),0===l?l=r:e[h+1]=_u(e[h+1],r),h=r;v&&(e[r+1]=Cu(e[r+1])),Lh(e,E,r,!0),Lh(e,E,r,!1),function eD(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&zo(i,t)>=0&&(n[r+1]=Eu(n[r+1]))}(t,E,e,r,i),s=Ga(l,h),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}function Xu(e,t,n,r,o){let i=null;const s=n.directiveEnd;let l=n.directiveStylingLast;for(-1===l?l=n.directiveStart:l++;l0;){const h=e[o],v=Array.isArray(h),E=v?h[1]:h,I=null===E;let k=n[o+1];k===ct&&(k=I?ut:void 0);let X=I?As(k,r):E===r?k:void 0;if(v&&!sc(X)&&(X=As(h,r)),sc(X)&&(l=X,s))return l;const ve=e[o+1];o=s?yr(ve):eo(ve)}if(null!==t){let h=i?t.residualClasses:t.residualStyles;null!=h&&(l=As(h,r))}return l}function sc(e){return void 0!==e}function Yh(e,t){return 0!=(e.flags&(t?16:32))}function Zh(e,t=""){const n=be(),r=pt(),o=e+22,i=r.firstCreatePass?Ui(r,o,1,t,null):r.data[o],s=n[o]=function zc(e,t){return e.createText(t)}(n[11],t);La(r,n,s,i),pn(i,!1)}function el(e){return ac("",e,""),el}function ac(e,t,n){const r=be(),o=function Hi(e,t,n,r){return bn(e,tr(),n)?t+z(n)+r:ct}(r,e,t,n);return o!==ct&&to(r,Kt(),o),ac}function tl(e,t,n,r,o){const i=be(),s=$i(i,e,t,n,r,o);return s!==ct&&to(i,Kt(),s),tl}const Xo=void 0;var LD=["en",[["a","p"],["AM","PM"],Xo],[["AM","PM"],Xo,Xo],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Xo,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Xo,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Xo,"{1} 'at' {0}",Xo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ND(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Ji={};function nl(e){const t=function kD(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=gp(t);if(n)return n;const r=t.split("-")[0];if(n=gp(r),n)return n;if("en"===r)return LD;throw new me(701,!1)}function pp(e){return nl(e)[Qe.PluralCase]}function gp(e){return e in Ji||(Ji[e]=Ke.ng&&Ke.ng.common&&Ke.ng.common.locales&&Ke.ng.common.locales[e]),Ji[e]}var Qe=(()=>((Qe=Qe||{})[Qe.LocaleId=0]="LocaleId",Qe[Qe.DayPeriodsFormat=1]="DayPeriodsFormat",Qe[Qe.DayPeriodsStandalone=2]="DayPeriodsStandalone",Qe[Qe.DaysFormat=3]="DaysFormat",Qe[Qe.DaysStandalone=4]="DaysStandalone",Qe[Qe.MonthsFormat=5]="MonthsFormat",Qe[Qe.MonthsStandalone=6]="MonthsStandalone",Qe[Qe.Eras=7]="Eras",Qe[Qe.FirstDayOfWeek=8]="FirstDayOfWeek",Qe[Qe.WeekendRange=9]="WeekendRange",Qe[Qe.DateFormat=10]="DateFormat",Qe[Qe.TimeFormat=11]="TimeFormat",Qe[Qe.DateTimeFormat=12]="DateTimeFormat",Qe[Qe.NumberSymbols=13]="NumberSymbols",Qe[Qe.NumberFormats=14]="NumberFormats",Qe[Qe.CurrencyCode=15]="CurrencyCode",Qe[Qe.CurrencySymbol=16]="CurrencySymbol",Qe[Qe.CurrencyName=17]="CurrencyName",Qe[Qe.Currencies=18]="Currencies",Qe[Qe.Directionality=19]="Directionality",Qe[Qe.PluralCase=20]="PluralCase",Qe[Qe.ExtraData=21]="ExtraData",Qe))();const qi="en-US";let mp=qi;class Qi{}class $p{}function LC(e,t){return new Vp(e,t??null)}class Vp extends Qi{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Hu(this);const r=Je(t);this._bootstrapComponents=Xr(r.bootstrap),this._r3Injector=wf(t,n,[{provide:Qi,useValue:this},{provide:$s,useValue:this.componentFactoryResolver}],te(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ul extends $p{constructor(t){super(),this.moduleType=t}create(t){return new Vp(this.moduleType,t)}}class kC extends Qi{constructor(t,n,r){super(),this.componentFactoryResolver=new Hu(this),this.instance=null;const o=new tf([...t,{provide:Qi,useValue:this},{provide:$s,useValue:this.componentFactoryResolver}],n||Va(),r,new Set(["environment"]));this.injector=o,o.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ll(e,t,n=null){return new kC(e,t,n).injector}let UC=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=qd(0,n.type),o=r.length>0?ll([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=it({token:e,providedIn:"environment",factory:()=>new e(nn(Zo))}),e})();function zp(e){e.getStandaloneInjector=t=>t.get(UC).getOrCreateStandaloneInjector(e)}function qp(e,t,n){const r=tn()+e,o=be();return o[r]===ct?kr(o,r,n?t.call(n):t()):function Ys(e,t){return e[t]}(o,r)}function Qp(e,t,n,r){return eg(be(),tn(),e,t,n,r)}function Xp(e,t,n,r,o){return tg(be(),tn(),e,t,n,r,o)}function ta(e,t){const n=e[t];return n===ct?void 0:n}function eg(e,t,n,r,o,i){const s=t+n;return bn(e,s,o)?kr(e,s+1,i?r.call(i,o):r(o)):ta(e,s+1)}function tg(e,t,n,r,o,i,s){const l=t+n;return Qo(e,l,o,i)?kr(e,l+2,s?r.call(s,o,i):r(o,i)):ta(e,l+2)}function ig(e,t){const n=pt();let r;const o=e+22;n.firstCreatePass?(r=function e_(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=Xn(r.type)),s=ge(ki);try{const l=Yr(!1),h=i();return Yr(l),function G0(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,be(),o,h),h}finally{ge(s)}}function sg(e,t,n){const r=e+22,o=be(),i=xn(o,r);return na(o,r)?eg(o,tn(),t,i.transform,n,i):i.transform(n)}function ag(e,t,n,r){const o=e+22,i=be(),s=xn(i,o);return na(i,o)?tg(i,tn(),t,s.transform,n,r,s):s.transform(n,r)}function na(e,t){return e[1].data[t].pure}function fl(e){return t=>{setTimeout(e,void 0,t)}}const Br=class o_ extends p.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const h=t;o=h.next?.bind(h),i=h.error?.bind(h),s=h.complete?.bind(h)}this.__isAsync&&(i=fl(i),o&&(o=fl(o)),s&&(s=fl(s)));const l=super.subscribe({next:o,error:i,complete:s});return t instanceof w.w0&&t.add(l),l}};function i_(){return this._results[qo()]()}class hl{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=qo(),r=hl.prototype;r[n]||(r[n]=i_)}get changes(){return this._changes||(this._changes=new Br)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=ln(t);(this._changesDetected=!function Jl(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=c_,e})();const s_=ra,a_=class extends s_{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Ya(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),Pu(r,o,t),new Gs(o)}};function c_(){return fc(Wt(),be())}function fc(e,t){return 4&e.type?new a_(t,e,Fi(e,t)):null}let hc=(()=>{class e{}return e.__NG_ELEMENT_ID__=u_,e})();function u_(){return lg(Wt(),be())}const l_=hc,cg=class extends l_{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Fi(this._hostTNode,this._hostLView)}get injector(){return new Co(this._hostTNode,this._hostLView)}get parentInjector(){const t=bi(this._hostTNode,this._hostLView);if(_n(t)){const n=Kn(t,this._hostLView),r=gn(t);return new Co(n[1].data[r+8],n)}return new Co(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=ug(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function wo(e){return"function"==typeof e}(t);let l;if(s)l=n;else{const I=n||{};l=I.index,r=I.injector,o=I.projectableNodes,i=I.environmentInjector||I.ngModuleRef}const h=s?t:new Ws(b(t)),v=r||this.parentInjector;if(!i&&null==h.ngModule){const k=(s?v:this.parentInjector).get(Zo,null);k&&(i=k)}const E=h.create(v,o,void 0,i);return this.insert(E.hostView,l),E}insert(t,n){const r=t._lView,o=r[1];if(function li(e){return In(e[3])}(r)){const E=this.indexOf(t);if(-1!==E)this.detach(E);else{const I=r[3],k=new cg(I,I[6],I[3]);k.detach(k.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function ov(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r0)r.push(s[l/2]);else{const v=i[l+1],E=t[-h];for(let I=10;I{class e{constructor(n){this.appInits=n,this.resolve=gc,this.reject=gc,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{i.subscribe({complete:l,error:h})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(nn(Ug,8))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Bg=new St("AppId",{providedIn:"root",factory:function jg(){return`${bl()}${bl()}${bl()}`}});function bl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Hg=new St("Platform Initializer"),B_=new St("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),$g=new St("appBootstrapListener");let j_=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const vc=new St("LocaleId",{providedIn:"root",factory:()=>ed(vc,S.Optional|S.SkipSelf)||function H_(){return typeof $localize<"u"&&$localize.locale||qi}()}),$_=new St("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class V_{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let z_=(()=>{class e{compileModuleSync(n){return new ul(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Xr(Je(n).declarations).reduce((s,l)=>{const h=b(l);return h&&s.push(new Ws(h)),s},[]);return new V_(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const K_=(()=>Promise.resolve(0))();function Ml(e){typeof Zone>"u"?K_.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class rr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Br(!1),this.onMicrotaskEmpty=new Br(!1),this.onStable=new Br(!1),this.onError=new Br(!1),typeof Zone>"u")throw new me(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new i("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function Y_(){let e=Ke.requestAnimationFrame,t=Ke.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function q_(e){const t=()=>{!function J_(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ke,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Il(e),e.isCheckStableRunning=!0,Sl(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Il(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,l)=>{try{return Gg(e),n.invokeTask(o,i,s,l)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),Wg(e)}},onInvoke:(n,r,o,i,s,l,h)=>{try{return Gg(e),n.invoke(o,i,s,l,h)}finally{e.shouldCoalesceRunChangeDetection&&t(),Wg(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Il(e),Sl(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!rr.isInAngularZone())throw new me(909,!1)}static assertNotInAngularZone(){if(rr.isInAngularZone())throw new me(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,Z_,gc,gc);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const Z_={};function Sl(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Il(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Gg(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Wg(e){e._nesting--,Sl(e)}class Q_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Br,this.onMicrotaskEmpty=new Br,this.onStable=new Br,this.onError=new Br}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const Kg=new St(""),Yg=new St("");let xl,X_=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,xl||(function eE(e){xl=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{rr.assertNotInAngularZone(),Ml(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Ml(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(nn(rr),nn(Zg),nn(Yg))},e.\u0275prov=it({token:e,factory:e.\u0275fac}),e})(),Zg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return xl?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Io=null;const Jg=new St("AllowMultipleToken"),Tl=new St("PlatformDestroyListeners");class rE{constructor(t,n){this.name=t,this.token=n}}function Qg(e,t,n=[]){const r=`Platform: ${t}`,o=new St(r);return(i=[])=>{let s=Al();if(!s||s.injector.get(Jg,!1)){const l=[...n,...i,{provide:o,useValue:!0}];e?e(l):function oE(e){if(Io&&!Io.get(Jg,!1))throw new me(400,!1);Io=e;const t=e.get(em);(function qg(e){const t=e.get(Hg,null);t&&t.forEach(n=>n())})(e)}(function Xg(e=[],t){return Jo.create({name:t,providers:[{provide:uu,useValue:"platform"},{provide:Tl,useValue:new Set([()=>Io=null])},...e]})}(l,r))}return function sE(e){const t=Al();if(!t)throw new me(401,!1);return t}()}}function Al(){return Io?.get(em)??null}let em=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function nm(e,t){let n;return n="noop"===e?new Q_:("zone.js"===e?void 0:e)||new rr(t),n}(r?.ngZone,function tm(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:rr,useValue:o}];return o.run(()=>{const s=Jo.create({providers:i,parent:this.injector,name:n.moduleType.name}),l=n.create(s),h=l.injector.get(zs,null);if(!h)throw new me(402,!1);return o.runOutsideAngular(()=>{const v=o.onError.subscribe({next:E=>{h.handleError(E)}});l.onDestroy(()=>{Dc(this._modules,l),v.unsubscribe()})}),function rm(e,t,n){try{const r=n();return Yu(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(h,o,()=>{const v=l.injector.get(mc);return v.runInitializers(),v.donePromise.then(()=>(function vp(e){ht(e,"Expected localeId to be defined"),"string"==typeof e&&(mp=e.toLowerCase().replace(/_/g,"-"))}(l.injector.get(vc,qi)||qi),this._moduleDoBootstrap(l),l))})})}bootstrapModule(n,r=[]){const o=om({},r);return function tE(e,t,n){const r=new ul(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(yc);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new me(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new me(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Tl,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(nn(Jo))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function om(e,t){return Array.isArray(t)?t.reduce(om,e):{...e,...t}}let yc=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new A.y(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),s=new A.y(l=>{let h;this._zone.runOutsideAngular(()=>{h=this._zone.onStable.subscribe(()=>{rr.assertNotInAngularZone(),Ml(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const v=this._zone.onUnstable.subscribe(()=>{rr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{h.unsubscribe(),v.unsubscribe()}});this.isStable=function oe(...e){const t=(0,q.yG)(e),n=(0,q._6)(e,1/0),r=e;return r.length?1===r.length?(0,H.Xf)(r[0]):(0,V.J)(n)((0,J.D)(r,t)):ee.E}(i,s.pipe(function P(e={}){const{connector:t=(()=>new p.x),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,l,h,v=0,E=!1,I=!1;const k=()=>{l?.unsubscribe(),l=void 0},X=()=>{k(),s=h=void 0,E=I=!1},ve=()=>{const xe=s;X(),xe?.unsubscribe()};return(0,ne.e)((xe,Le)=>{v++,!I&&!E&&k();const ze=h=h??t();Le.add(()=>{v--,0===v&&!I&&!E&&(l=K(ve,o))}),ze.subscribe(Le),!s&&v>0&&(s=new L.Hp({next:Ze=>ze.next(Ze),error:Ze=>{I=!0,k(),l=K(X,n,Ze),ze.error(Ze)},complete:()=>{E=!0,k(),l=K(X,r),ze.complete()}}),(0,H.Xf)(xe).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof rf;if(!this._injector.get(mc).done)throw!o&&Ye(n),new me(405,false);let s;s=o?n:this._injector.get($s).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const l=function nE(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Qi),v=s.create(Jo.NULL,[],r||s.selector,l),E=v.location.nativeElement,I=v.injector.get(Kg,null);return I?.registerApplication(E),v.onDestroy(()=>{this.detachView(v.hostView),Dc(this.components,v),I?.unregisterApplication(E)}),this._loadComponent(v),v}tick(){if(this._runningTick)throw new me(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Dc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get($g,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Dc(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new me(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(nn(rr),nn(Zo),nn(zs))},e.\u0275prov=it({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Dc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let sm=!0;function cE(){sm=!1}let uE=(()=>{class e{}return e.__NG_ELEMENT_ID__=lE,e})();function lE(e){return function dE(e,t,n){if(cn(e)&&!n){const r=fn(e.index,t);return new Gs(r,r)}return 47&e.type?new Gs(t[16],t):null}(Wt(),be(),16==(16&e))}class dm{constructor(){}supports(t){return Ks(t)}create(t){return new vE(t)}}const mE=(e,t)=>t;class vE{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||mE}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,l),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,l,s,o)),Object.is(n.item,l)||this._addIdentityChange(n,l)):(n=this._mismatch(n,l,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new yE(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new fm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class yE{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class DE{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class fm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new DE,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function hm(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new _E(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class _E{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function gm(){return new Nl([new dm])}let Nl=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||gm()),deps:[[e,new Fs,new Rs]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new me(901,!1)}}return e.\u0275prov=it({token:e,providedIn:"root",factory:gm}),e})();function mm(){return new Ll([new pm])}let Ll=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||mm()),deps:[[e,new Fs,new Rs]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new me(901,!1)}}return e.\u0275prov=it({token:e,providedIn:"root",factory:mm}),e})();const bE=Qg(null,"core",[]);let ME=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(nn(yc))},e.\u0275mod=or({type:e}),e.\u0275inj=Ft({}),e})();function SE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},1481:(Pe,ae,D)=>{"use strict";D.d(ae,{Cb:()=>Xt,Dx:()=>se,H7:()=>jr,b2:()=>Nn,h_:()=>At,ki:()=>ut,q6:()=>Nt});var p=D(6895),w=D(8256);class A extends p.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class V extends A{static makeCurrent(){(0,p.HT)(new V)}onAndCancel($,b,j){return $.addEventListener(b,j,!1),()=>{$.removeEventListener(b,j,!1)}}dispatchEvent($,b){$.dispatchEvent(b)}remove($){$.parentNode&&$.parentNode.removeChild($)}createElement($,b){return(b=b||this.getDefaultDocument()).createElement($)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode($){return $.nodeType===Node.ELEMENT_NODE}isShadowRoot($){return $ instanceof DocumentFragment}getGlobalEventTarget($,b){return"window"===b?window:"document"===b?$:"body"===b?$.body:null}getBaseHref($){const b=function ee(){return H=H||document.querySelector("base"),H?H.getAttribute("href"):null}();return null==b?null:function J(Y){q=q||document.createElement("a"),q.setAttribute("href",Y);const $=q.pathname;return"/"===$.charAt(0)?$:`/${$}`}(b)}resetBaseElement(){H=null}getUserAgent(){return window.navigator.userAgent}getCookie($){return(0,p.Mx)(document.cookie,$)}}let q,H=null;const oe=new w.OlP("TRANSITION_ID"),ne=[{provide:w.ip1,useFactory:function L(Y,$,b){return()=>{b.get(w.CZH).donePromise.then(()=>{const j=(0,p.q)(),he=$.querySelectorAll(`style[ng-transition="${Y}"]`);for(let Ye=0;Ye{class Y{build(){return new XMLHttpRequest}}return Y.\u0275fac=function(b){return new(b||Y)},Y.\u0275prov=w.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const M=new w.OlP("EventManagerPlugins");let U=(()=>{class Y{constructor(b,j){this._zone=j,this._eventNameToPlugin=new Map,b.forEach(he=>he.manager=this),this._plugins=b.slice().reverse()}addEventListener(b,j,he){return this._findPluginFor(j).addEventListener(b,j,he)}addGlobalEventListener(b,j,he){return this._findPluginFor(j).addGlobalEventListener(b,j,he)}getZone(){return this._zone}_findPluginFor(b){const j=this._eventNameToPlugin.get(b);if(j)return j;const he=this._plugins;for(let Ye=0;Ye{class Y{constructor(){this._stylesSet=new Set}addStyles(b){const j=new Set;b.forEach(he=>{this._stylesSet.has(he)||(this._stylesSet.add(he),j.add(he))}),this.onStylesAdded(j)}onStylesAdded(b){}getAllStyles(){return Array.from(this._stylesSet)}}return Y.\u0275fac=function(b){return new(b||Y)},Y.\u0275prov=w.Yz7({token:Y,factory:Y.\u0275fac}),Y})(),ke=(()=>{class Y extends Ee{constructor(b){super(),this._doc=b,this._hostNodes=new Map,this._hostNodes.set(b.head,[])}_addStylesToHost(b,j,he){b.forEach(Ye=>{const Je=this._doc.createElement("style");Je.textContent=Ye,he.push(j.appendChild(Je))})}addHost(b){const j=[];this._addStylesToHost(this._stylesSet,b,j),this._hostNodes.set(b,j)}removeHost(b){const j=this._hostNodes.get(b);j&&j.forEach(Me),this._hostNodes.delete(b)}onStylesAdded(b){this._hostNodes.forEach((j,he)=>{this._addStylesToHost(b,he,j)})}ngOnDestroy(){this._hostNodes.forEach(b=>b.forEach(Me))}}return Y.\u0275fac=function(b){return new(b||Y)(w.LFG(p.K0))},Y.\u0275prov=w.Yz7({token:Y,factory:Y.\u0275fac}),Y})();function Me(Y){(0,p.q)().remove(Y)}const fe={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ye=/%COMP%/g;function pe(Y,$,b){for(let j=0;j<$.length;j++){let he=$[j];Array.isArray(he)?pe(Y,he,b):(he=he.replace(ye,Y),b.push(he))}return b}function N(Y){return $=>{if("__ngUnwrap__"===$)return Y;!1===Y($)&&($.preventDefault(),$.returnValue=!1)}}let F=(()=>{class Y{constructor(b,j,he){this.eventManager=b,this.sharedStylesHost=j,this.appId=he,this.rendererByCompId=new Map,this.defaultRenderer=new Oe(b)}createRenderer(b,j){if(!b||!j)return this.defaultRenderer;switch(j.encapsulation){case w.ifc.Emulated:{let he=this.rendererByCompId.get(j.id);return he||(he=new W(this.eventManager,this.sharedStylesHost,j,this.appId),this.rendererByCompId.set(j.id,he)),he.applyToHost(b),he}case 1:case w.ifc.ShadowDom:return new B(this.eventManager,this.sharedStylesHost,b,j);default:if(!this.rendererByCompId.has(j.id)){const he=pe(j.id,j.styles,[]);this.sharedStylesHost.addStyles(he),this.rendererByCompId.set(j.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Y.\u0275fac=function(b){return new(b||Y)(w.LFG(U),w.LFG(ke),w.LFG(w.AFp))},Y.\u0275prov=w.Yz7({token:Y,factory:Y.\u0275fac}),Y})();class Oe{constructor($){this.eventManager=$,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement($,b){return b?document.createElementNS(fe[b]||b,$):document.createElement($)}createComment($){return document.createComment($)}createText($){return document.createTextNode($)}appendChild($,b){(Ne($)?$.content:$).appendChild(b)}insertBefore($,b,j){$&&(Ne($)?$.content:$).insertBefore(b,j)}removeChild($,b){$&&$.removeChild(b)}selectRootElement($,b){let j="string"==typeof $?document.querySelector($):$;if(!j)throw new Error(`The selector "${$}" did not match any elements`);return b||(j.textContent=""),j}parentNode($){return $.parentNode}nextSibling($){return $.nextSibling}setAttribute($,b,j,he){if(he){b=he+":"+b;const Ye=fe[he];Ye?$.setAttributeNS(Ye,b,j):$.setAttribute(b,j)}else $.setAttribute(b,j)}removeAttribute($,b,j){if(j){const he=fe[j];he?$.removeAttributeNS(he,b):$.removeAttribute(`${j}:${b}`)}else $.removeAttribute(b)}addClass($,b){$.classList.add(b)}removeClass($,b){$.classList.remove(b)}setStyle($,b,j,he){he&(w.JOm.DashCase|w.JOm.Important)?$.style.setProperty(b,j,he&w.JOm.Important?"important":""):$.style[b]=j}removeStyle($,b,j){j&w.JOm.DashCase?$.style.removeProperty(b):$.style[b]=""}setProperty($,b,j){$[b]=j}setValue($,b){$.nodeValue=b}listen($,b,j){return"string"==typeof $?this.eventManager.addGlobalEventListener($,b,N(j)):this.eventManager.addEventListener($,b,N(j))}}function Ne(Y){return"TEMPLATE"===Y.tagName&&void 0!==Y.content}class W extends Oe{constructor($,b,j,he){super($),this.component=j;const Ye=pe(he+"-"+j.id,j.styles,[]);b.addStyles(Ye),this.contentAttr=function Z(Y){return"_ngcontent-%COMP%".replace(ye,Y)}(he+"-"+j.id),this.hostAttr=function G(Y){return"_nghost-%COMP%".replace(ye,Y)}(he+"-"+j.id)}applyToHost($){super.setAttribute($,this.hostAttr,"")}createElement($,b){const j=super.createElement($,b);return super.setAttribute(j,this.contentAttr,""),j}}class B extends Oe{constructor($,b,j,he){super($),this.sharedStylesHost=b,this.hostEl=j,this.shadowRoot=j.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ye=pe(he.id,he.styles,[]);for(let Je=0;Je{class Y extends te{constructor(b){super(b)}supports(b){return!0}addEventListener(b,j,he){return b.addEventListener(j,he,!1),()=>this.removeEventListener(b,j,he)}removeEventListener(b,j,he){return b.removeEventListener(j,he)}}return Y.\u0275fac=function(b){return new(b||Y)(w.LFG(p.K0))},Y.\u0275prov=w.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const ce=["alt","control","meta","shift"],Ie={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},we={alt:Y=>Y.altKey,control:Y=>Y.ctrlKey,meta:Y=>Y.metaKey,shift:Y=>Y.shiftKey};let He=(()=>{class Y extends te{constructor(b){super(b)}supports(b){return null!=Y.parseEventName(b)}addEventListener(b,j,he){const Ye=Y.parseEventName(j),Je=Y.eventCallback(Ye.fullKey,he,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,p.q)().onAndCancel(b,Ye.domEventName,Je))}static parseEventName(b){const j=b.toLowerCase().split("."),he=j.shift();if(0===j.length||"keydown"!==he&&"keyup"!==he)return null;const Ye=Y._normalizeKey(j.pop());let Je="",gt=j.indexOf("code");if(gt>-1&&(j.splice(gt,1),Je="code."),ce.forEach(nt=>{const wt=j.indexOf(nt);wt>-1&&(j.splice(wt,1),Je+=nt+".")}),Je+=Ye,0!=j.length||0===Ye.length)return null;const Te={};return Te.domEventName=he,Te.fullKey=Je,Te}static matchEventFullKeyCode(b,j){let he=Ie[b.key]||b.key,Ye="";return j.indexOf("code.")>-1&&(he=b.code,Ye="code."),!(null==he||!he)&&(he=he.toLowerCase()," "===he?he="space":"."===he&&(he="dot"),ce.forEach(Je=>{Je!==he&&(0,we[Je])(b)&&(Ye+=Je+".")}),Ye+=he,Ye===j)}static eventCallback(b,j,he){return Ye=>{Y.matchEventFullKeyCode(Ye,b)&&he.runGuarded(()=>j(Ye))}}static _normalizeKey(b){return"esc"===b?"escape":b}}return Y.\u0275fac=function(b){return new(b||Y)(w.LFG(p.K0))},Y.\u0275prov=w.Yz7({token:Y,factory:Y.\u0275fac}),Y})();const Nt=(0,w.eFA)(w._c5,"browser",[{provide:w.Lbi,useValue:p.bD},{provide:w.g9A,useValue:function tt(){V.makeCurrent()},multi:!0},{provide:p.K0,useFactory:function Rt(){return(0,w.RDi)(document),document},deps:[]}]),jt=new w.OlP(""),Lt=[{provide:w.rWj,useClass:class P{addToWindow($){w.dqk.getAngularTestability=(j,he=!0)=>{const Ye=$.findTestabilityInTree(j,he);if(null==Ye)throw new Error("Could not find testability for element.");return Ye},w.dqk.getAllAngularTestabilities=()=>$.getAllTestabilities(),w.dqk.getAllAngularRootElements=()=>$.getAllRootElements(),w.dqk.frameworkStabilizers||(w.dqk.frameworkStabilizers=[]),w.dqk.frameworkStabilizers.push(j=>{const he=w.dqk.getAllAngularTestabilities();let Ye=he.length,Je=!1;const gt=function(Te){Je=Je||Te,Ye--,0==Ye&&j(Je)};he.forEach(function(Te){Te.whenStable(gt)})})}findTestabilityInTree($,b,j){return null==b?null:$.getTestability(b)??(j?(0,p.q)().isShadowRoot(b)?this.findTestabilityInTree($,b.host,!0):this.findTestabilityInTree($,b.parentElement,!0):null)}},deps:[]},{provide:w.lri,useClass:w.dDg,deps:[w.R0b,w.eoX,w.rWj]},{provide:w.dDg,useClass:w.dDg,deps:[w.R0b,w.eoX,w.rWj]}],Fn=[{provide:w.zSh,useValue:"root"},{provide:w.qLn,useFactory:function it(){return new w.qLn},deps:[]},{provide:M,useClass:re,multi:!0,deps:[p.K0,w.R0b,w.Lbi]},{provide:M,useClass:He,multi:!0,deps:[p.K0]},{provide:F,useClass:F,deps:[U,ke,w.AFp]},{provide:w.FYo,useExisting:F},{provide:Ee,useExisting:ke},{provide:ke,useClass:ke,deps:[p.K0]},{provide:U,useClass:U,deps:[M,w.R0b]},{provide:p.JF,useClass:K,deps:[]},[]];let Nn=(()=>{class Y{constructor(b){}static withServerTransition(b){return{ngModule:Y,providers:[{provide:w.AFp,useValue:b.appId},{provide:oe,useExisting:w.AFp},ne]}}}return Y.\u0275fac=function(b){return new(b||Y)(w.LFG(jt,12))},Y.\u0275mod=w.oAB({type:Y}),Y.\u0275inj=w.cJS({providers:[...Fn,...Lt],imports:[p.ez,w.hGG]}),Y})(),At=(()=>{class Y{constructor(b){this._doc=b,this._dom=(0,p.q)()}addTag(b,j=!1){return b?this._getOrCreateElement(b,j):null}addTags(b,j=!1){return b?b.reduce((he,Ye)=>(Ye&&he.push(this._getOrCreateElement(Ye,j)),he),[]):[]}getTag(b){return b&&this._doc.querySelector(`meta[${b}]`)||null}getTags(b){if(!b)return[];const j=this._doc.querySelectorAll(`meta[${b}]`);return j?[].slice.call(j):[]}updateTag(b,j){if(!b)return null;j=j||this._parseSelector(b);const he=this.getTag(j);return he?this._setMetaElementAttributes(b,he):this._getOrCreateElement(b,!0)}removeTag(b){this.removeTagElement(this.getTag(b))}removeTagElement(b){b&&this._dom.remove(b)}_getOrCreateElement(b,j=!1){if(!j){const Je=this._parseSelector(b),gt=this.getTags(Je).filter(Te=>this._containsAttributes(b,Te))[0];if(void 0!==gt)return gt}const he=this._dom.createElement("meta");return this._setMetaElementAttributes(b,he),this._doc.getElementsByTagName("head")[0].appendChild(he),he}_setMetaElementAttributes(b,j){return Object.keys(b).forEach(he=>j.setAttribute(this._getMetaKeyMap(he),b[he])),j}_parseSelector(b){const j=b.name?"name":"property";return`${j}="${b[j]}"`}_containsAttributes(b,j){return Object.keys(b).every(he=>j.getAttribute(this._getMetaKeyMap(he))===b[he])}_getMetaKeyMap(b){return qe[b]||b}}return Y.\u0275fac=function(b){return new(b||Y)(w.LFG(p.K0))},Y.\u0275prov=w.Yz7({token:Y,factory:function(b){let j=null;return j=b?new b:function mn(){return new At((0,w.LFG)(p.K0))}(),j},providedIn:"root"}),Y})();const qe={httpEquiv:"http-equiv"};let se=(()=>{class Y{constructor(b){this._doc=b}getTitle(){return this._doc.title}setTitle(b){this._doc.title=b||""}}return Y.\u0275fac=function(b){return new(b||Y)(w.LFG(p.K0))},Y.\u0275prov=w.Yz7({token:Y,factory:function(b){let j=null;return j=b?new b:function zt(){return new se((0,w.LFG)(p.K0))}(),j},providedIn:"root"}),Y})();function Xt(Y){return Y}typeof window<"u"&&window;let ut=(()=>{class Y{constructor(){this.store={},this.onSerializeCallbacks={}}get(b,j){return void 0!==this.store[b]?this.store[b]:j}set(b,j){this.store[b]=j}remove(b){delete this.store[b]}hasKey(b){return this.store.hasOwnProperty(b)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(b,j){this.onSerializeCallbacks[b]=j}toJson(){for(const b in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(b))try{this.store[b]=this.onSerializeCallbacks[b]()}catch(j){console.warn("Exception in onSerialize callback: ",j)}return JSON.stringify(this.store)}}return Y.\u0275fac=function(b){return new(b||Y)},Y.\u0275prov=w.Yz7({token:Y,factory:function(){return(()=>{const $=(0,w.f3M)(p.K0),b=(0,w.f3M)(w.AFp),j=new Y;return j.store=function kt(Y,$){const b=Y.getElementById($+"-state");let j={};if(b&&b.textContent)try{j=JSON.parse(function Et(Y){const $={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return Y.replace(/&[^;]+;/g,b=>$[b])}(b.textContent))}catch(he){console.warn("Exception while restoring TransferState for app "+$,he)}return j}($,b),j})()},providedIn:"root"}),Y})(),jr=(()=>{class Y{}return Y.\u0275fac=function(b){return new(b||Y)},Y.\u0275prov=w.Yz7({token:Y,factory:function(b){let j=null;return j=b?new(b||Y):w.LFG(wr),j},providedIn:"root"}),Y})(),wr=(()=>{class Y extends jr{constructor(b){super(),this._doc=b}sanitize(b,j){if(null==j)return null;switch(b){case w.q3G.NONE:return j;case w.q3G.HTML:return(0,w.qzn)(j,"HTML")?(0,w.z3N)(j):(0,w.EiD)(this._doc,String(j)).toString();case w.q3G.STYLE:return(0,w.qzn)(j,"Style")?(0,w.z3N)(j):j;case w.q3G.SCRIPT:if((0,w.qzn)(j,"Script"))return(0,w.z3N)(j);throw new Error("unsafe value used in a script context");case w.q3G.URL:return(0,w.qzn)(j,"URL")?(0,w.z3N)(j):(0,w.mCW)(String(j));case w.q3G.RESOURCE_URL:if((0,w.qzn)(j,"ResourceURL"))return(0,w.z3N)(j);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${b} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(b){return(0,w.JVY)(b)}bypassSecurityTrustStyle(b){return(0,w.L6k)(b)}bypassSecurityTrustScript(b){return(0,w.eBb)(b)}bypassSecurityTrustUrl(b){return(0,w.LAX)(b)}bypassSecurityTrustResourceUrl(b){return(0,w.pB0)(b)}}return Y.\u0275fac=function(b){return new(b||Y)(w.LFG(p.K0))},Y.\u0275prov=w.Yz7({token:Y,factory:function(b){let j=null;return j=b?new b:function or(Y){return new wr(Y.get(p.K0))}(w.LFG(w.zs3)),j},providedIn:"root"}),Y})()},1226:(Pe,ae,D)=>{"use strict";D.d(ae,{gz:()=>$n,m2:()=>qn,F0:()=>Yt,Od:()=>Zr,yS:()=>pr,Bz:()=>Pa,lC:()=>xn});var p=D(8256),w=D(2076),A=D(9646),V=D(1135),H=D(6805),ee=D(9751);const{isArray:q}=Array,{getPrototypeOf:J,prototype:oe,keys:L}=Object;var K=D(4671),M=D(4004);const{isArray:U}=Array;var ke=D(3269),fe=D(5403),ye=D(9672);function De(...c){const u=(0,ke.yG)(c),a=(0,ke.jO)(c),{args:f,keys:m}=function ne(c){if(1===c.length){const u=c[0];if(q(u))return{args:u,keys:null};if(function P(c){return c&&"object"==typeof c&&J(c)===oe}(u)){const a=L(u);return{args:a.map(f=>u[f]),keys:a}}}return{args:c,keys:null}}(c);if(0===f.length)return(0,w.D)([],u);const C=new ee.y(function me(c,u,a=K.y){return f=>{Q(u,()=>{const{length:m}=c,C=new Array(m);let T=m,O=m;for(let ue=0;ue{const Ae=(0,w.D)(c[ue],u);let Xe=!1;Ae.subscribe((0,fe.x)(f,je=>{C[ue]=je,Xe||(Xe=!0,O--),O||f.next(a(C.slice()))},()=>{--T||f.complete()}))},f)},f)}}(f,u,m?T=>function Me(c,u){return c.reduce((a,f,m)=>(a[f]=u[m],a),{})}(m,T):K.y));return a?C.pipe(function Ee(c){return(0,M.U)(u=>function te(c,u){return U(u)?c(...u):c(u)}(c,u))}(a)):C}function Q(c,u,a){c?(0,ye.f)(a,c,u):u()}var z=D(7272),Z=D(8421);function G(c){return new ee.y(u=>{(0,Z.Xf)(c()).subscribe(u)})}var pe=D(9635),N=D(576);function _e(c,u){const a=(0,N.m)(c)?c:()=>c,f=m=>m.error(a());return new ee.y(u?m=>u.schedule(f,0,m):f)}var F=D(515),Oe=D(727),de=D(4482);function Fe(){return(0,de.e)((c,u)=>{let a=null;c._refCount++;const f=(0,fe.x)(u,void 0,void 0,void 0,()=>{if(!c||c._refCount<=0||0<--c._refCount)return void(a=null);const m=c._connection,C=a;a=null,m&&(!C||m===C)&&m.unsubscribe(),u.unsubscribe()});c.subscribe(f),f.closed||(a=c.connect())})}class Ne extends ee.y{constructor(u,a){super(),this.source=u,this.subjectFactory=a,this._subject=null,this._refCount=0,this._connection=null,(0,de.A)(u)&&(this.lift=u.lift)}_subscribe(u){return this.getSubject().subscribe(u)}getSubject(){const u=this._subject;return(!u||u.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:u}=this;this._subject=this._connection=null,u?.unsubscribe()}connect(){let u=this._connection;if(!u){u=this._connection=new Oe.w0;const a=this.getSubject();u.add(this.source.subscribe((0,fe.x)(a,void 0,()=>{this._teardown(),a.complete()},f=>{this._teardown(),a.error(f)},()=>this._teardown()))),u.closed&&(this._connection=null,u=Oe.w0.EMPTY)}return u}refCount(){return Fe()(this)}}var W=D(7579),B=D(6895);function re(c,u){return(0,de.e)((a,f)=>{let m=null,C=0,T=!1;const O=()=>T&&!m&&f.complete();a.subscribe((0,fe.x)(f,ue=>{m?.unsubscribe();let Ae=0;const Xe=C++;(0,Z.Xf)(c(ue,Xe)).subscribe(m=(0,fe.x)(f,je=>f.next(u?u(ue,je,Xe,Ae++):je),()=>{m=null,O()}))},()=>{T=!0,O()}))})}var ce=D(5698),we=D(9300),He=D(5577);function We(c){return(0,de.e)((u,a)=>{let f=!1;u.subscribe((0,fe.x)(a,m=>{f=!0,a.next(m)},()=>{f||a.next(c),a.complete()}))})}function ht(c=Ue){return(0,de.e)((u,a)=>{let f=!1;u.subscribe((0,fe.x)(a,m=>{f=!0,a.next(m)},()=>f?a.complete():a.error(c())))})}function Ue(){return new H.K}function ft(c,u){const a=arguments.length>=2;return f=>f.pipe(c?(0,we.h)((m,C)=>c(m,C,f)):K.y,(0,ce.q)(1),a?We(u):ht(()=>new H.K))}var _t=D(4351),tt=D(8505),it=D(262);function Rt(c,u,a,f,m){return(C,T)=>{let O=a,ue=u,Ae=0;C.subscribe((0,fe.x)(T,Xe=>{const je=Ae++;ue=O?c(ue,Xe,je):(O=!0,Xe),f&&T.next(ue)},m&&(()=>{O&&T.next(ue),T.complete()})))}}function Ft(c,u){return(0,de.e)(Rt(c,u,arguments.length>=2,!0))}function Nt(c){return c<=0?()=>F.E:(0,de.e)((u,a)=>{let f=[];u.subscribe((0,fe.x)(a,m=>{f.push(m),c{for(const m of f)a.next(m);a.complete()},void 0,()=>{f=null}))})}function jt(c,u){const a=arguments.length>=2;return f=>f.pipe(c?(0,we.h)((m,C)=>c(m,C,f)):K.y,Nt(1),a?We(u):ht(()=>new H.K))}var Fn=D(9718);function Nn(c){return(0,de.e)((u,a)=>{try{u.subscribe(a)}finally{a.add(c)}})}var mn=D(8189),At=D(1481);const qe="primary",zt=Symbol("RouteTitle");class se{constructor(u){this.params=u||{}}has(u){return Object.prototype.hasOwnProperty.call(this.params,u)}get(u){if(this.has(u)){const a=this.params[u];return Array.isArray(a)?a[0]:a}return null}getAll(u){if(this.has(u)){const a=this.params[u];return Array.isArray(a)?a:[a]}return[]}get keys(){return Object.keys(this.params)}}function S(c){return new se(c)}function x(c,u,a){const f=a.path.split("/");if(f.length>c.length||"full"===a.pathMatch&&(u.hasChildren()||f.lengthf[C]===m)}return c===u}function Be(c){return Array.prototype.concat.apply([],c)}function Re(c){return c.length>0?c[c.length-1]:null}function st(c,u){for(const a in c)c.hasOwnProperty(a)&&u(c[a],a)}function lt(c){return(0,p.CqO)(c)?c:(0,p.QGY)(c)?(0,w.D)(Promise.resolve(c)):(0,A.of)(c)}const xt={exact:function kt(c,u,a){if(!Un(c.segments,u.segments)||!rn(c.segments,u.segments,a)||c.numberOfChildren!==u.numberOfChildren)return!1;for(const f in u.children)if(!c.children[f]||!kt(c.children[f],u.children[f],a))return!1;return!0},subset:kn},Et={exact:function ut(c,u){return ge(c,u)},subset:function Ln(c,u){return Object.keys(u).length<=Object.keys(c).length&&Object.keys(u).every(a=>Ve(c[a],u[a]))},ignored:()=>!0};function Xt(c,u,a){return xt[a.paths](c.root,u.root,a.matrixParams)&&Et[a.queryParams](c.queryParams,u.queryParams)&&!("exact"===a.fragment&&c.fragment!==u.fragment)}function kn(c,u,a){return Pn(c,u,u.segments,a)}function Pn(c,u,a,f){if(c.segments.length>a.length){const m=c.segments.slice(0,a.length);return!(!Un(m,a)||u.hasChildren()||!rn(m,a,f))}if(c.segments.length===a.length){if(!Un(c.segments,a)||!rn(c.segments,a,f))return!1;for(const m in u.children)if(!c.children[m]||!kn(c.children[m],u.children[m],f))return!1;return!0}{const m=a.slice(0,c.segments.length),C=a.slice(c.segments.length);return!!(Un(c.segments,m)&&rn(c.segments,m,f)&&c.children[qe])&&Pn(c.children[qe],u,C,f)}}function rn(c,u,a){return u.every((f,m)=>Et[a](c[m].parameters,f.parameters))}class vn{constructor(u,a,f){this.root=u,this.queryParams=a,this.fragment=f}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=S(this.queryParams)),this._queryParamMap}toString(){return ro.serialize(this)}}class at{constructor(u,a){this.segments=u,this.children=a,this.parent=null,st(a,(f,m)=>f.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Y(this)}}class Jn{constructor(u,a){this.path=u,this.parameters=a}get parameterMap(){return this._parameterMap||(this._parameterMap=S(this.parameters)),this._parameterMap}toString(){return Te(this)}}function Un(c,u){return c.length===u.length&&c.every((a,f)=>a.path===u[f].path)}let or=(()=>{class c{}return c.\u0275fac=function(a){return new(a||c)},c.\u0275prov=p.Yz7({token:c,factory:function(){return new wr},providedIn:"root"}),c})();class wr{parse(u){const a=new br(u);return new vn(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())}serialize(u){const a=`/${$(u.root,!0)}`,f=function wt(c){const u=Object.keys(c).map(a=>{const f=c[a];return Array.isArray(f)?f.map(m=>`${j(a)}=${j(m)}`).join("&"):`${j(a)}=${j(f)}`}).filter(a=>!!a);return u.length?`?${u.join("&")}`:""}(u.queryParams);return`${a}${f}${"string"==typeof u.fragment?`#${function he(c){return encodeURI(c)}(u.fragment)}`:""}`}}const ro=new wr;function Y(c){return c.segments.map(u=>Te(u)).join("/")}function $(c,u){if(!c.hasChildren())return Y(c);if(u){const a=c.children[qe]?$(c.children[qe],!1):"",f=[];return st(c.children,(m,C)=>{C!==qe&&f.push(`${C}:${$(m,!1)}`)}),f.length>0?`${a}(${f.join("//")})`:a}{const a=function jr(c,u){let a=[];return st(c.children,(f,m)=>{m===qe&&(a=a.concat(u(f,m)))}),st(c.children,(f,m)=>{m!==qe&&(a=a.concat(u(f,m)))}),a}(c,(f,m)=>m===qe?[$(c.children[qe],!1)]:[`${m}:${$(f,!1)}`]);return 1===Object.keys(c.children).length&&null!=c.children[qe]?`${Y(c)}/${a[0]}`:`${Y(c)}/(${a.join("//")})`}}function b(c){return encodeURIComponent(c).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function j(c){return b(c).replace(/%3B/gi,";")}function Ye(c){return b(c).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Je(c){return decodeURIComponent(c)}function gt(c){return Je(c.replace(/\+/g,"%20"))}function Te(c){return`${Ye(c.path)}${function nt(c){return Object.keys(c).map(u=>`;${Ye(u)}=${Ye(c[u])}`).join("")}(c.parameters)}`}const on=/^[^\/()?;=#]+/;function On(c){const u=c.match(on);return u?u[0]:""}const Gt=/^[^=?]+/,Tt=/^[^]+/;class br{constructor(u){this.url=u,this.remaining=u}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new at([],{}):new at([],this.parseChildren())}parseQueryParams(){const u={};if(this.consumeOptional("?"))do{this.parseQueryParam(u)}while(this.consumeOptional("&"));return u}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const u=[];for(this.peekStartsWith("(")||u.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),u.push(this.parseSegment());let a={};this.peekStartsWith("/(")&&(this.capture("/"),a=this.parseParens(!0));let f={};return this.peekStartsWith("(")&&(f=this.parseParens(!1)),(u.length>0||Object.keys(a).length>0)&&(f[qe]=new at(u,a)),f}parseSegment(){const u=On(this.remaining);if(""===u&&this.peekStartsWith(";"))throw new p.vHH(4009,!1);return this.capture(u),new Jn(Je(u),this.parseMatrixParams())}parseMatrixParams(){const u={};for(;this.consumeOptional(";");)this.parseParam(u);return u}parseParam(u){const a=On(this.remaining);if(!a)return;this.capture(a);let f="";if(this.consumeOptional("=")){const m=On(this.remaining);m&&(f=m,this.capture(f))}u[Je(a)]=Je(f)}parseQueryParam(u){const a=function ir(c){const u=c.match(Gt);return u?u[0]:""}(this.remaining);if(!a)return;this.capture(a);let f="";if(this.consumeOptional("=")){const T=function sr(c){const u=c.match(Tt);return u?u[0]:""}(this.remaining);T&&(f=T,this.capture(f))}const m=gt(a),C=gt(f);if(u.hasOwnProperty(m)){let T=u[m];Array.isArray(T)||(T=[T],u[m]=T),T.push(C)}else u[m]=C}parseParens(u){const a={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const f=On(this.remaining),m=this.remaining[f.length];if("/"!==m&&")"!==m&&";"!==m)throw new p.vHH(4010,!1);let C;f.indexOf(":")>-1?(C=f.slice(0,f.indexOf(":")),this.capture(C),this.capture(":")):u&&(C=qe);const T=this.parseChildren();a[C]=1===Object.keys(T).length?T[qe]:new at([],T),this.consumeOptional("//")}return a}peekStartsWith(u){return this.remaining.startsWith(u)}consumeOptional(u){return!!this.peekStartsWith(u)&&(this.remaining=this.remaining.substring(u.length),!0)}capture(u){if(!this.consumeOptional(u))throw new p.vHH(4011,!1)}}function rt(c){return c.segments.length>0?new at([],{[qe]:c}):c}function Mr(c){const u={};for(const f of Object.keys(c.children)){const C=Mr(c.children[f]);(C.segments.length>0||C.hasChildren())&&(u[f]=C)}return function Sr(c){if(1===c.numberOfChildren&&c.children[qe]){const u=c.children[qe];return new at(c.segments.concat(u.segments),u.children)}return c}(new at(c.segments,u))}function Bn(c){return c instanceof vn}function yn(c,u,a,f,m){if(0===a.length)return mt(u.root,u.root,u.root,f,m);const C=function ar(c){if("string"==typeof c[0]&&1===c.length&&"/"===c[0])return new xo(!0,0,c);let u=0,a=!1;const f=c.reduce((m,C,T)=>{if("object"==typeof C&&null!=C){if(C.outlets){const O={};return st(C.outlets,(ue,Ae)=>{O[Ae]="string"==typeof ue?ue.split("/"):ue}),[...m,{outlets:O}]}if(C.segmentPath)return[...m,C.segmentPath]}return"string"!=typeof C?[...m,C]:0===T?(C.split("/").forEach((O,ue)=>{0==ue&&"."===O||(0==ue&&""===O?a=!0:".."===O?u++:""!=O&&m.push(O))}),m):[...m,C]},[]);return new xo(a,u,f)}(a);return C.toRoot()?mt(u.root,u.root,new at([],{}),f,m):function T(ue){const Ae=function oo(c,u,a,f){if(c.isAbsolute)return new Sn(u.root,!0,0);if(-1===f)return new Sn(a,a===u.root,0);return function cr(c,u,a){let f=c,m=u,C=a;for(;C>m;){if(C-=m,f=f.parent,!f)throw new p.vHH(4005,!1);m=f.segments.length}return new Sn(f,!1,m-C)}(a,f+(Mn(c.commands[0])?0:1),c.numberOfDoubleDots)}(C,u,c.snapshot?._urlSegment,ue),Xe=Ae.processChildren?Vt(Ae.segmentGroup,Ae.index,C.commands):To(Ae.segmentGroup,Ae.index,C.commands);return mt(u.root,Ae.segmentGroup,Xe,f,m)}(c.snapshot?._lastPathIndex)}function Mn(c){return"object"==typeof c&&null!=c&&!c.outlets&&!c.segmentPath}function Tr(c){return"object"==typeof c&&null!=c&&c.outlets}function mt(c,u,a,f,m){let T,C={};f&&st(f,(ue,Ae)=>{C[Ae]=Array.isArray(ue)?ue.map(Xe=>`${Xe}`):`${ue}`}),T=c===u?a:ri(c,u,a);const O=rt(Mr(T));return new vn(O,C,m)}function ri(c,u,a){const f={};return st(c.children,(m,C)=>{f[C]=m===u?a:ri(m,u,a)}),new at(c.segments,f)}class xo{constructor(u,a,f){if(this.isAbsolute=u,this.numberOfDoubleDots=a,this.commands=f,u&&f.length>0&&Mn(f[0]))throw new p.vHH(4003,!1);const m=f.find(Tr);if(m&&m!==Re(f))throw new p.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Sn{constructor(u,a,f){this.segmentGroup=u,this.processChildren=a,this.index=f}}function To(c,u,a){if(c||(c=new at([],{})),0===c.segments.length&&c.hasChildren())return Vt(c,u,a);const f=function In(c,u,a){let f=0,m=u;const C={match:!1,pathIndex:0,commandIndex:0};for(;m=a.length)return C;const T=c.segments[m],O=a[f];if(Tr(O))break;const ue=`${O}`,Ae=f0&&void 0===ue)break;if(ue&&Ae&&"object"==typeof Ae&&void 0===Ae.outlets){if(!Dn(ue,Ae,T))return C;f+=2}else{if(!Dn(ue,{},T))return C;f++}m++}return{match:!0,pathIndex:m,commandIndex:f}}(c,u,a),m=a.slice(f.commandIndex);if(f.match&&f.pathIndex{"string"==typeof C&&(C=[C]),null!==C&&(m[T]=To(c.children[T],u,C))}),st(c.children,(C,T)=>{void 0===f[T]&&(m[T]=C)}),new at(c.segments,m)}}function io(c,u,a){const f=c.segments.slice(0,u);let m=0;for(;m{"string"==typeof a&&(a=[a]),null!==a&&(u[f]=io(new at([],{}),0,a))}),u}function Hr(c){const u={};return st(c,(a,f)=>u[f]=`${a}`),u}function Dn(c,u,a){return c==a.path&&ge(u,a.parameters)}class Hn{constructor(u,a){this.id=u,this.url=a}}class oi extends Hn{constructor(u,a,f="imperative",m=null){super(u,a),this.type=0,this.navigationTrigger=f,this.restoredState=m}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class qn extends Hn{constructor(u,a,f){super(u,a),this.urlAfterRedirects=f,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class so extends Hn{constructor(u,a,f,m){super(u,a),this.reason=f,this.code=m,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ts extends Hn{constructor(u,a,f,m){super(u,a),this.error=f,this.target=m,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ia extends Hn{constructor(u,a,f,m){super(u,a),this.urlAfterRedirects=f,this.state=m,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class sa extends Hn{constructor(u,a,f,m){super(u,a),this.urlAfterRedirects=f,this.state=m,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class aa extends Hn{constructor(u,a,f,m,C){super(u,a),this.urlAfterRedirects=f,this.state=m,this.shouldActivate=C,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ns extends Hn{constructor(u,a,f,m){super(u,a),this.urlAfterRedirects=f,this.state=m,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ca extends Hn{constructor(u,a,f,m){super(u,a),this.urlAfterRedirects=f,this.state=m,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ua{constructor(u){this.route=u,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class la{constructor(u){this.route=u,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class da{constructor(u){this.snapshot=u,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fa{constructor(u){this.snapshot=u,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ha{constructor(u){this.snapshot=u,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class rs{constructor(u){this.snapshot=u,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ii{constructor(u,a,f){this.routerEvent=u,this.position=a,this.anchor=f,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ao{constructor(u){this._root=u}get root(){return this._root.value}parent(u){const a=this.pathFromRoot(u);return a.length>1?a[a.length-2]:null}children(u){const a=ur(u,this._root);return a?a.children.map(f=>f.value):[]}firstChild(u){const a=ur(u,this._root);return a&&a.children.length>0?a.children[0].value:null}siblings(u){const a=ao(u,this._root);return a.length<2?[]:a[a.length-2].children.map(m=>m.value).filter(m=>m!==u)}pathFromRoot(u){return ao(u,this._root).map(a=>a.value)}}function ur(c,u){if(c===u.value)return u;for(const a of u.children){const f=ur(c,a);if(f)return f}return null}function ao(c,u){if(c===u.value)return[u];for(const a of u.children){const f=ao(c,a);if(f.length)return f.unshift(u),f}return[]}class Qn{constructor(u,a){this.value=u,this.children=a}toString(){return`TreeNode(${this.value})`}}function co(c){const u={};return c&&c.children.forEach(a=>u[a.value.outlet]=a),u}class Xn extends Ao{constructor(u,a){super(u),this.snapshot=a,ci(this,u)}toString(){return this.snapshot.toString()}}function Po(c,u){const a=function Oo(c,u){const T=new uo([],{},{},"",{},qe,u,null,c.root,-1,{});return new ai("",new Qn(T,[]))}(c,u),f=new V.X([new Jn("",{})]),m=new V.X({}),C=new V.X({}),T=new V.X({}),O=new V.X(""),ue=new $n(f,m,T,O,C,qe,u,a.root);return ue.snapshot=a.root,new Xn(new Qn(ue,[]),a)}class $n{constructor(u,a,f,m,C,T,O,ue){this.url=u,this.params=a,this.queryParams=f,this.fragment=m,this.data=C,this.outlet=T,this.component=O,this.title=this.data?.pipe((0,M.U)(Ae=>Ae[zt]))??(0,A.of)(void 0),this._futureSnapshot=ue}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,M.U)(u=>S(u)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,M.U)(u=>S(u)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function si(c,u="emptyOnly"){const a=c.pathFromRoot;let f=0;if("always"!==u)for(f=a.length-1;f>=1;){const m=a[f],C=a[f-1];if(m.routeConfig&&""===m.routeConfig.path)f--;else{if(C.component)break;f--}}return function ga(c){return c.reduce((u,a)=>({params:{...u.params,...a.params},data:{...u.data,...a.data},resolve:{...a.data,...u.resolve,...a.routeConfig?.data,...a._resolvedData}}),{params:{},data:{},resolve:{}})}(a.slice(f))}class uo{constructor(u,a,f,m,C,T,O,ue,Ae,Xe,je,Dt){this.url=u,this.params=a,this.queryParams=f,this.fragment=m,this.data=C,this.outlet=T,this.component=O,this.title=this.data?.[zt],this.routeConfig=ue,this._urlSegment=Ae,this._lastPathIndex=Xe,this._correctedLastPathIndex=Dt??Xe,this._resolve=je}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=S(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=S(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(f=>f.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ai extends Ao{constructor(u,a){super(a),this.url=u,ci(this,a)}toString(){return Ro(this._root)}}function ci(c,u){u.value._routerState=c,u.children.forEach(a=>ci(c,a))}function Ro(c){const u=c.children.length>0?` { ${c.children.map(Ro).join(", ")} } `:"";return`${c.value}${u}`}function Fo(c){if(c.snapshot){const u=c.snapshot,a=c._futureSnapshot;c.snapshot=a,ge(u.queryParams,a.queryParams)||c.queryParams.next(a.queryParams),u.fragment!==a.fragment&&c.fragment.next(a.fragment),ge(u.params,a.params)||c.params.next(a.params),function ie(c,u){if(c.length!==u.length)return!1;for(let a=0;age(a.parameters,u[f].parameters))}(c.url,u.url);return a&&!(!c.parent!=!u.parent)&&(!c.parent||un(c.parent,u.parent))}function $r(c,u,a){if(a&&c.shouldReuseRoute(u.value,a.value.snapshot)){const f=a.value;f._futureSnapshot=u.value;const m=function ui(c,u,a){return u.children.map(f=>{for(const m of a.children)if(c.shouldReuseRoute(f.value,m.value.snapshot))return $r(c,f,m);return $r(c,f)})}(c,u,a);return new Qn(f,m)}{if(c.shouldAttach(u.value)){const C=c.retrieve(u.value);if(null!==C){const T=C.route;return T.value._futureSnapshot=u.value,T.children=u.children.map(O=>$r(c,O)),T}}const f=function os(c){return new $n(new V.X(c.url),new V.X(c.params),new V.X(c.queryParams),new V.X(c.fragment),new V.X(c.data),c.outlet,c.component,c)}(u.value),m=u.children.map(C=>$r(c,C));return new Qn(f,m)}}const is="ngNavigationCancelingError";function Pt(c,u){const{redirectTo:a,navigationBehaviorOptions:f}=Bn(u)?{redirectTo:u,navigationBehaviorOptions:void 0}:u,m=ss(!1,0,u);return m.url=a,m.navigationBehaviorOptions=f,m}function ss(c,u,a){const f=new Error("NavigationCancelingError: "+(c||""));return f[is]=!0,f.cancellationCode=u,a&&(f.url=a),f}function as(c){return Vr(c)&&Bn(c.url)}function Vr(c){return c&&c[is]}class dn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new er,this.attachRef=null}}let er=(()=>{class c{constructor(){this.contexts=new Map}onChildOutletCreated(a,f){const m=this.getOrCreateContext(a);m.outlet=f,this.contexts.set(a,m)}onChildOutletDestroyed(a){const f=this.getContext(a);f&&(f.outlet=null,f.attachRef=null)}onOutletDeactivated(){const a=this.contexts;return this.contexts=new Map,a}onOutletReAttached(a){this.contexts=a}getOrCreateContext(a){let f=this.getContext(a);return f||(f=new dn,this.contexts.set(a,f)),f}getContext(a){return this.contexts.get(a)||null}}return c.\u0275fac=function(a){return new(a||c)},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Pr=!1;let xn=(()=>{class c{constructor(a,f,m,C,T){this.parentContexts=a,this.location=f,this.changeDetector=C,this.environmentInjector=T,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.vpe,this.deactivateEvents=new p.vpe,this.attachEvents=new p.vpe,this.detachEvents=new p.vpe,this.name=m||qe,a.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.getContext(this.name)?.outlet===this&&this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const a=this.parentContexts.getContext(this.name);a&&a.route&&(a.attachRef?this.attach(a.attachRef,a.route):this.activateWith(a.route,a.injector))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new p.vHH(4012,Pr);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new p.vHH(4012,Pr);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new p.vHH(4012,Pr);this.location.detach();const a=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(a.instance),a}attach(a,f){this.activated=a,this._activatedRoute=f,this.location.insert(a.hostView),this.attachEvents.emit(a.instance)}deactivate(){if(this.activated){const a=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(a)}}activateWith(a,f){if(this.isActivated)throw new p.vHH(4013,Pr);this._activatedRoute=a;const m=this.location,T=a._futureSnapshot.component,O=this.parentContexts.getOrCreateContext(this.name).children,ue=new fn(a,O,m.injector);if(f&&function cs(c){return!!c.resolveComponentFactory}(f)){const Ae=f.resolveComponentFactory(T);this.activated=m.createComponent(Ae,m.length,ue)}else this.activated=m.createComponent(T,{index:m.length,injector:ue,environmentInjector:f??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return c.\u0275fac=function(a){return new(a||c)(p.Y36(er),p.Y36(p.s_b),p.$8M("name"),p.Y36(p.sBO),p.Y36(p.lqb))},c.\u0275dir=p.lG2({type:c,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),c})();class fn{constructor(u,a,f){this.route=u,this.childContexts=a,this.parent=f}get(u,a){return u===$n?this.route:u===er?this.childContexts:this.parent.get(u,a)}}let zr=(()=>{class c{}return c.\u0275fac=function(a){return new(a||c)},c.\u0275cmp=p.Xpm({type:c,selectors:[["ng-component"]],standalone:!0,features:[p.jDz],decls:1,vars:0,template:function(a,f){1&a&&p._UZ(0,"router-outlet")},dependencies:[xn],encapsulation:2}),c})();function li(c,u){return c.providers&&!c._injector&&(c._injector=(0,p.MMx)(c.providers,u,`Route: ${c.path}`)),c._injector??u}function fi(c){const u=c.children&&c.children.map(fi),a=u?{...c,children:u}:{...c};return!a.component&&!a.loadComponent&&(u||a.loadChildren)&&a.outlet&&a.outlet!==qe&&(a.component=zr),a}function hn(c){return c.outlet||qe}function hi(c,u){const a=c.filter(f=>hn(f)===u);return a.push(...c.filter(f=>hn(f)!==u)),a}function Gr(c){if(!c)return null;if(c.routeConfig?._injector)return c.routeConfig._injector;for(let u=c.parent;u;u=u.parent){const a=u.routeConfig;if(a?._loadedInjector)return a._loadedInjector;if(a?._injector)return a._injector}return null}class pt{constructor(u,a,f,m){this.routeReuseStrategy=u,this.futureState=a,this.currState=f,this.forwardEvent=m}activate(u){const a=this.futureState._root,f=this.currState?this.currState._root:null;this.deactivateChildRoutes(a,f,u),Fo(this.futureState.root),this.activateChildRoutes(a,f,u)}deactivateChildRoutes(u,a,f){const m=co(a);u.children.forEach(C=>{const T=C.value.outlet;this.deactivateRoutes(C,m[T],f),delete m[T]}),st(m,(C,T)=>{this.deactivateRouteAndItsChildren(C,f)})}deactivateRoutes(u,a,f){const m=u.value,C=a?a.value:null;if(m===C)if(m.component){const T=f.getContext(m.outlet);T&&this.deactivateChildRoutes(u,a,T.children)}else this.deactivateChildRoutes(u,a,f);else C&&this.deactivateRouteAndItsChildren(a,f)}deactivateRouteAndItsChildren(u,a){u.value.component&&this.routeReuseStrategy.shouldDetach(u.value.snapshot)?this.detachAndStoreRouteSubtree(u,a):this.deactivateRouteAndOutlet(u,a)}detachAndStoreRouteSubtree(u,a){const f=a.getContext(u.value.outlet),m=f&&u.value.component?f.children:a,C=co(u);for(const T of Object.keys(C))this.deactivateRouteAndItsChildren(C[T],m);if(f&&f.outlet){const T=f.outlet.detach(),O=f.children.onOutletDeactivated();this.routeReuseStrategy.store(u.value.snapshot,{componentRef:T,route:u,contexts:O})}}deactivateRouteAndOutlet(u,a){const f=a.getContext(u.value.outlet),m=f&&u.value.component?f.children:a,C=co(u);for(const T of Object.keys(C))this.deactivateRouteAndItsChildren(C[T],m);f&&f.outlet&&(f.outlet.deactivate(),f.children.onOutletDeactivated(),f.attachRef=null,f.resolver=null,f.route=null)}activateChildRoutes(u,a,f){const m=co(a);u.children.forEach(C=>{this.activateRoutes(C,m[C.value.outlet],f),this.forwardEvent(new rs(C.value.snapshot))}),u.children.length&&this.forwardEvent(new fa(u.value.snapshot))}activateRoutes(u,a,f){const m=u.value,C=a?a.value:null;if(Fo(m),m===C)if(m.component){const T=f.getOrCreateContext(m.outlet);this.activateChildRoutes(u,a,T.children)}else this.activateChildRoutes(u,a,f);else if(m.component){const T=f.getOrCreateContext(m.outlet);if(this.routeReuseStrategy.shouldAttach(m.snapshot)){const O=this.routeReuseStrategy.retrieve(m.snapshot);this.routeReuseStrategy.store(m.snapshot,null),T.children.onOutletReAttached(O.contexts),T.attachRef=O.componentRef,T.route=O.route.value,T.outlet&&T.outlet.attach(O.componentRef,O.route.value),Fo(O.route.value),this.activateChildRoutes(u,null,T.children)}else{const O=Gr(m.snapshot),ue=O?.get(p._Vd)??null;T.attachRef=null,T.route=m,T.resolver=ue,T.injector=O,T.outlet&&T.outlet.activateWith(m,T.injector),this.activateChildRoutes(u,null,T.children)}}else this.activateChildRoutes(u,null,f)}}class No{constructor(u){this.path=u,this.route=this.path[this.path.length-1]}}class It{constructor(u,a){this.component=u,this.route=a}}function Wt(c,u,a){const f=c._root;return pn(f,u?u._root:null,a,[f.value])}function Vn(c,u){const a=Symbol(),f=u.get(c,a);return f===a?"function"!=typeof c||(0,p.Z0I)(c)?u.get(c):c:f}function pn(c,u,a,f,m={canDeactivateChecks:[],canActivateChecks:[]}){const C=co(u);return c.children.forEach(T=>{(function pi(c,u,a,f,m={canDeactivateChecks:[],canActivateChecks:[]}){const C=c.value,T=u?u.value:null,O=a?a.getContext(c.value.outlet):null;if(T&&C.routeConfig===T.routeConfig){const ue=function gi(c,u,a){if("function"==typeof a)return a(c,u);switch(a){case"pathParamsChange":return!Un(c.url,u.url);case"pathParamsOrQueryParamsChange":return!Un(c.url,u.url)||!ge(c.queryParams,u.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!un(c,u)||!ge(c.queryParams,u.queryParams);default:return!un(c,u)}}(T,C,C.routeConfig.runGuardsAndResolvers);ue?m.canActivateChecks.push(new No(f)):(C.data=T.data,C._resolvedData=T._resolvedData),pn(c,u,C.component?O?O.children:null:a,f,m),ue&&O&&O.outlet&&O.outlet.isActivated&&m.canDeactivateChecks.push(new It(O.outlet.component,T))}else T&&ho(u,O,m),m.canActivateChecks.push(new No(f)),pn(c,null,C.component?O?O.children:null:a,f,m)})(T,C[T.value.outlet],a,f.concat([T.value]),m),delete C[T.value.outlet]}),st(C,(T,O)=>ho(T,a.getContext(O),m)),m}function ho(c,u,a){const f=co(c),m=c.value;st(f,(C,T)=>{ho(C,m.component?u?u.children.getContext(T):null:u,a)}),a.canDeactivateChecks.push(new It(m.component&&u&&u.outlet&&u.outlet.isActivated?u.outlet.component:null,m))}function po(c){return"function"==typeof c}function Lo(c){return c instanceof H.K||"EmptyError"===c?.name}const Wr=Symbol("INITIAL_VALUE");function dr(){return re(c=>De(c.map(u=>u.pipe((0,ce.q)(1),function Ie(...c){const u=(0,ke.yG)(c);return(0,de.e)((a,f)=>{(u?(0,z.z)(c,a,u):(0,z.z)(c,a)).subscribe(f)})}(Wr)))).pipe((0,M.U)(u=>{for(const a of u)if(!0!==a){if(a===Wr)return Wr;if(!1===a||a instanceof vn)return a}return!0}),(0,we.h)(u=>u!==Wr),(0,ce.q)(1)))}function _i(c){return(0,pe.z)((0,tt.b)(u=>{if(Bn(u))throw Pt(0,u)}),(0,M.U)(u=>!0===u))}const mo={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ys(c,u,a,f,m){const C=Ei(c,u,a);return C.matched?function vs(c,u,a,f){const m=u.canMatch;if(!m||0===m.length)return(0,A.of)(!0);const C=m.map(T=>{const O=Vn(T,c);return lt(function tr(c){return c&&po(c.canMatch)}(O)?O.canMatch(u,a):c.runInContext(()=>O(u,a)))});return(0,A.of)(C).pipe(dr(),_i())}(f=li(u,f),u,a).pipe((0,M.U)(T=>!0===T?C:{...mo})):(0,A.of)(C)}function Ei(c,u,a){if(""===u.path)return"full"===u.pathMatch&&(c.hasChildren()||a.length>0)?{...mo}:{matched:!0,consumedSegments:[],remainingSegments:a,parameters:{},positionalParamSegments:{}};const m=(u.matcher||x)(a,c,u);if(!m)return{...mo};const C={};st(m.posParams,(O,ue)=>{C[ue]=O.path});const T=m.consumed.length>0?{...C,...m.consumed[m.consumed.length-1].parameters}:C;return{matched:!0,consumedSegments:m.consumed,remainingSegments:a.slice(m.consumed.length),parameters:T,positionalParamSegments:m.posParams??{}}}function Kt(c,u,a,f,m="corrected"){if(a.length>0&&function wi(c,u,a){return a.some(f=>vo(c,u,f)&&hn(f)!==qe)}(c,a,f)){const T=new at(u,function Ot(c,u,a,f){const m={};m[qe]=f,f._sourceSegment=c,f._segmentIndexShift=u.length;for(const C of a)if(""===C.path&&hn(C)!==qe){const T=new at([],{});T._sourceSegment=c,T._segmentIndexShift=u.length,m[hn(C)]=T}return m}(c,u,f,new at(a,c.children)));return T._sourceSegment=c,T._segmentIndexShift=u.length,{segmentGroup:T,slicedSegments:[]}}if(0===a.length&&function Da(c,u,a){return a.some(f=>vo(c,u,f))}(c,a,f)){const T=new at(c.segments,function fr(c,u,a,f,m,C){const T={};for(const O of f)if(vo(c,a,O)&&!m[hn(O)]){const ue=new at([],{});ue._sourceSegment=c,ue._segmentIndexShift="legacy"===C?c.segments.length:u.length,T[hn(O)]=ue}return{...m,...T}}(c,u,a,f,c.children,m));return T._sourceSegment=c,T._segmentIndexShift=u.length,{segmentGroup:T,slicedSegments:a}}const C=new at(c.segments,c.children);return C._sourceSegment=c,C._segmentIndexShift=u.length,{segmentGroup:C,slicedSegments:a}}function vo(c,u,a){return(!(c.hasChildren()||u.length>0)||"full"!==a.pathMatch)&&""===a.path}function Ds(c,u,a,f){return!!(hn(c)===f||f!==qe&&vo(u,a,c))&&("**"===c.path||Ei(u,c,a).matched)}function Cs(c,u,a){return 0===u.length&&!c.children[a]}const ko=!1;class Or{constructor(u){this.segmentGroup=u||null}}class yo{constructor(u){this.urlTree=u}}function hr(c){return _e(new Or(c))}function Uo(c){return _e(new yo(c))}class g{constructor(u,a,f,m,C){this.injector=u,this.configLoader=a,this.urlSerializer=f,this.urlTree=m,this.config=C,this.allowRedirects=!0}apply(){const u=Kt(this.urlTree.root,[],[],this.config).segmentGroup,a=new at(u.segments,u.children);return this.expandSegmentGroup(this.injector,this.config,a,qe).pipe((0,M.U)(C=>this.createUrlTree(Mr(C),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,it.K)(C=>{if(C instanceof yo)return this.allowRedirects=!1,this.match(C.urlTree);throw C instanceof Or?this.noMatchError(C):C}))}match(u){return this.expandSegmentGroup(this.injector,this.config,u.root,qe).pipe((0,M.U)(m=>this.createUrlTree(Mr(m),u.queryParams,u.fragment))).pipe((0,it.K)(m=>{throw m instanceof Or?this.noMatchError(m):m}))}noMatchError(u){return new p.vHH(4002,ko)}createUrlTree(u,a,f){const m=rt(u);return new vn(m,a,f)}expandSegmentGroup(u,a,f,m){return 0===f.segments.length&&f.hasChildren()?this.expandChildren(u,a,f).pipe((0,M.U)(C=>new at([],C))):this.expandSegment(u,f,a,f.segments,m,!0)}expandChildren(u,a,f){const m=[];for(const C of Object.keys(f.children))"primary"===C?m.unshift(C):m.push(C);return(0,w.D)(m).pipe((0,_t.b)(C=>{const T=f.children[C],O=hi(a,C);return this.expandSegmentGroup(u,O,T,C).pipe((0,M.U)(ue=>({segment:ue,outlet:C})))}),Ft((C,T)=>(C[T.outlet]=T.segment,C),{}),jt())}expandSegment(u,a,f,m,C,T){return(0,w.D)(f).pipe((0,_t.b)(O=>this.expandSegmentAgainstRoute(u,a,f,O,m,C,T).pipe((0,it.K)(Ae=>{if(Ae instanceof Or)return(0,A.of)(null);throw Ae}))),ft(O=>!!O),(0,it.K)((O,ue)=>{if(Lo(O))return Cs(a,m,C)?(0,A.of)(new at([],{})):hr(a);throw O}))}expandSegmentAgainstRoute(u,a,f,m,C,T,O){return Ds(m,a,C,T)?void 0===m.redirectTo?this.matchSegmentAgainstRoute(u,a,m,C,T):O&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(u,a,f,m,C,T):hr(a):hr(a)}expandSegmentAgainstRouteUsingRedirect(u,a,f,m,C,T){return"**"===m.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(u,f,m,T):this.expandRegularSegmentAgainstRouteUsingRedirect(u,a,f,m,C,T)}expandWildCardWithParamsAgainstRouteUsingRedirect(u,a,f,m){const C=this.applyRedirectCommands([],f.redirectTo,{});return f.redirectTo.startsWith("/")?Uo(C):this.lineralizeSegments(f,C).pipe((0,He.z)(T=>{const O=new at(T,{});return this.expandSegment(u,O,a,T,m,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(u,a,f,m,C,T){const{matched:O,consumedSegments:ue,remainingSegments:Ae,positionalParamSegments:Xe}=Ei(a,m,C);if(!O)return hr(a);const je=this.applyRedirectCommands(ue,m.redirectTo,Xe);return m.redirectTo.startsWith("/")?Uo(je):this.lineralizeSegments(m,je).pipe((0,He.z)(Dt=>this.expandSegment(u,a,f,Dt.concat(Ae),T,!1)))}matchSegmentAgainstRoute(u,a,f,m,C){return"**"===f.path?(u=li(f,u),f.loadChildren?(f._loadedRoutes?(0,A.of)({routes:f._loadedRoutes,injector:f._loadedInjector}):this.configLoader.loadChildren(u,f)).pipe((0,M.U)(O=>(f._loadedRoutes=O.routes,f._loadedInjector=O.injector,new at(m,{})))):(0,A.of)(new at(m,{}))):ys(a,f,m,u).pipe(re(({matched:T,consumedSegments:O,remainingSegments:ue})=>T?this.getChildConfig(u=f._injector??u,f,m).pipe((0,He.z)(Xe=>{const je=Xe.injector??u,Dt=Xe.routes,{segmentGroup:sn,slicedSegments:gr}=Kt(a,O,ue,Dt),Jr=new at(sn.segments,sn.children);if(0===gr.length&&Jr.hasChildren())return this.expandChildren(je,Dt,Jr).pipe((0,M.U)(bo=>new at(O,bo)));if(0===Dt.length&&0===gr.length)return(0,A.of)(new at(O,{}));const Yn=hn(f)===C;return this.expandSegment(je,Jr,Dt,gr,Yn?qe:C,!0).pipe((0,M.U)(mr=>new at(O.concat(mr.segments),mr.children)))})):hr(a)))}getChildConfig(u,a,f){return a.children?(0,A.of)({routes:a.children,injector:u}):a.loadChildren?void 0!==a._loadedRoutes?(0,A.of)({routes:a._loadedRoutes,injector:a._loadedInjector}):function ms(c,u,a,f){const m=u.canLoad;if(void 0===m||0===m.length)return(0,A.of)(!0);const C=m.map(T=>{const O=Vn(T,c);return lt(function hs(c){return c&&po(c.canLoad)}(O)?O.canLoad(u,a):c.runInContext(()=>O(u,a)))});return(0,A.of)(C).pipe(dr(),_i())}(u,a,f).pipe((0,He.z)(m=>m?this.configLoader.loadChildren(u,a).pipe((0,tt.b)(C=>{a._loadedRoutes=C.routes,a._loadedInjector=C.injector})):function d(c){return _e(ss(ko,3))}())):(0,A.of)({routes:[],injector:u})}lineralizeSegments(u,a){let f=[],m=a.root;for(;;){if(f=f.concat(m.segments),0===m.numberOfChildren)return(0,A.of)(f);if(m.numberOfChildren>1||!m.children[qe])return _e(new p.vHH(4e3,ko));m=m.children[qe]}}applyRedirectCommands(u,a,f){return this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),u,f)}applyRedirectCreateUrlTree(u,a,f,m){const C=this.createSegmentGroup(u,a.root,f,m);return new vn(C,this.createQueryParams(a.queryParams,this.urlTree.queryParams),a.fragment)}createQueryParams(u,a){const f={};return st(u,(m,C)=>{if("string"==typeof m&&m.startsWith(":")){const O=m.substring(1);f[C]=a[O]}else f[C]=m}),f}createSegmentGroup(u,a,f,m){const C=this.createSegments(u,a.segments,f,m);let T={};return st(a.children,(O,ue)=>{T[ue]=this.createSegmentGroup(u,O,f,m)}),new at(C,T)}createSegments(u,a,f,m){return a.map(C=>C.path.startsWith(":")?this.findPosParam(u,C,m):this.findOrReturn(C,f))}findPosParam(u,a,f){const m=f[a.path.substring(1)];if(!m)throw new p.vHH(4001,ko);return m}findOrReturn(u,a){let f=0;for(const m of a){if(m.path===u.path)return a.splice(f),m;f++}return u}}class le{}class vt{constructor(u,a,f,m,C,T,O,ue){this.injector=u,this.rootComponentType=a,this.config=f,this.urlTree=m,this.url=C,this.paramsInheritanceStrategy=T,this.relativeLinkResolution=O,this.urlSerializer=ue}recognize(){const u=Kt(this.urlTree.root,[],[],this.config.filter(a=>void 0===a.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,u,qe).pipe((0,M.U)(a=>{if(null===a)return null;const f=new uo([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},qe,this.rootComponentType,null,this.urlTree.root,-1,{}),m=new Qn(f,a),C=new ai(this.url,m);return this.inheritParamsAndData(C._root),C}))}inheritParamsAndData(u){const a=u.value,f=si(a,this.paramsInheritanceStrategy);a.params=Object.freeze(f.params),a.data=Object.freeze(f.data),u.children.forEach(m=>this.inheritParamsAndData(m))}processSegmentGroup(u,a,f,m){return 0===f.segments.length&&f.hasChildren()?this.processChildren(u,a,f):this.processSegment(u,a,f,f.segments,m)}processChildren(u,a,f){return(0,w.D)(Object.keys(f.children)).pipe((0,_t.b)(m=>{const C=f.children[m],T=hi(a,m);return this.processSegmentGroup(u,T,C,m)}),Ft((m,C)=>m&&C?(m.push(...C),m):null),function Lt(c,u=!1){return(0,de.e)((a,f)=>{let m=0;a.subscribe((0,fe.x)(f,C=>{const T=c(C,m++);(T||u)&&f.next(C),!T&&f.complete()}))})}(m=>null!==m),We(null),jt(),(0,M.U)(m=>{if(null===m)return null;const C=Ut(m);return function yt(c){c.sort((u,a)=>u.value.outlet===qe?-1:a.value.outlet===qe?1:u.value.outlet.localeCompare(a.value.outlet))}(C),C}))}processSegment(u,a,f,m,C){return(0,w.D)(a).pipe((0,_t.b)(T=>this.processSegmentAgainstRoute(T._injector??u,T,f,m,C)),ft(T=>!!T),(0,it.K)(T=>{if(Lo(T))return Cs(f,m,C)?(0,A.of)([]):(0,A.of)(null);throw T}))}processSegmentAgainstRoute(u,a,f,m,C){if(a.redirectTo||!Ds(a,f,m,C))return(0,A.of)(null);let T;if("**"===a.path){const O=m.length>0?Re(m).parameters:{},ue=Gn(f)+m.length,Ae=new uo(m,O,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,gn(a),hn(a),a.component??a._loadedComponent??null,a,Bt(f),ue,Wn(a),ue);T=(0,A.of)({snapshot:Ae,consumedSegments:[],remainingSegments:[]})}else T=ys(f,a,m,u).pipe((0,M.U)(({matched:O,consumedSegments:ue,remainingSegments:Ae,parameters:Xe})=>{if(!O)return null;const je=Gn(f)+ue.length;return{snapshot:new uo(ue,Xe,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,gn(a),hn(a),a.component??a._loadedComponent??null,a,Bt(f),je,Wn(a),je),consumedSegments:ue,remainingSegments:Ae}}));return T.pipe(re(O=>{if(null===O)return(0,A.of)(null);const{snapshot:ue,consumedSegments:Ae,remainingSegments:Xe}=O;u=a._injector??u;const je=a._loadedInjector??u,Dt=function Ct(c){return c.children?c.children:c.loadChildren?c._loadedRoutes:[]}(a),{segmentGroup:sn,slicedSegments:gr}=Kt(f,Ae,Xe,Dt.filter(Yn=>void 0===Yn.redirectTo),this.relativeLinkResolution);if(0===gr.length&&sn.hasChildren())return this.processChildren(je,Dt,sn).pipe((0,M.U)(Yn=>null===Yn?null:[new Qn(ue,Yn)]));if(0===Dt.length&&0===gr.length)return(0,A.of)([new Qn(ue,[])]);const Jr=hn(a)===C;return this.processSegment(je,Dt,sn,gr,Jr?qe:C).pipe((0,M.U)(Yn=>null===Yn?null:[new Qn(ue,Yn)]))}))}}function dt(c){const u=c.value.routeConfig;return u&&""===u.path&&void 0===u.redirectTo}function Ut(c){const u=[],a=new Set;for(const f of c){if(!dt(f)){u.push(f);continue}const m=u.find(C=>f.value.routeConfig===C.value.routeConfig);void 0!==m?(m.children.push(...f.children),a.add(m)):u.push(f)}for(const f of a){const m=Ut(f.children);u.push(new Qn(f.value,m))}return u.filter(f=>!a.has(f))}function Bt(c){let u=c;for(;u._sourceSegment;)u=u._sourceSegment;return u}function Gn(c){let u=c,a=u._segmentIndexShift??0;for(;u._sourceSegment;)u=u._sourceSegment,a+=u._segmentIndexShift??0;return a-1}function gn(c){return c.data||{}}function Wn(c){return c.resolve||{}}function Ea(c){return"string"==typeof c.title||null===c.title}function Rn(c){return re(u=>{const a=c(u);return a?(0,w.D)(a).pipe((0,M.U)(()=>u)):(0,A.of)(u)})}let wa=(()=>{class c{buildTitle(a){let f,m=a.root;for(;void 0!==m;)f=this.getResolvedTitleForRoute(m)??f,m=m.children.find(C=>C.outlet===qe);return f}getResolvedTitleForRoute(a){return a.data[zt]}}return c.\u0275fac=function(a){return new(a||c)},c.\u0275prov=p.Yz7({token:c,factory:function(){return(0,p.f3M)(Do)},providedIn:"root"}),c})(),Do=(()=>{class c extends wa{constructor(a){super(),this.title=a}updateTitle(a){const f=this.buildTitle(a);void 0!==f&&this.title.setTitle(f)}}return c.\u0275fac=function(a){return new(a||c)(p.LFG(At.Dx))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class Es{}class Mi extends class bi{shouldDetach(u){return!1}store(u,a){}shouldAttach(u){return!1}retrieve(u){return null}shouldReuseRoute(u,a){return u.routeConfig===a.routeConfig}}{}const Bo=new p.OlP("",{providedIn:"root",factory:()=>({})}),Si=new p.OlP("ROUTES");let Ii=(()=>{class c{constructor(a,f){this.injector=a,this.compiler=f,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(a){if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,A.of)(a._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(a);const f=lt(a.loadComponent()).pipe((0,tt.b)(C=>{this.onLoadEndListener&&this.onLoadEndListener(a),a._loadedComponent=C}),Nn(()=>{this.componentLoaders.delete(a)})),m=new Ne(f,()=>new W.x).pipe(Fe());return this.componentLoaders.set(a,m),m}loadChildren(a,f){if(this.childrenLoaders.get(f))return this.childrenLoaders.get(f);if(f._loadedRoutes)return(0,A.of)({routes:f._loadedRoutes,injector:f._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(f);const C=this.loadModuleFactoryOrRoutes(f.loadChildren).pipe((0,M.U)(O=>{this.onLoadEndListener&&this.onLoadEndListener(f);let ue,Ae,Xe=!1;Array.isArray(O)?Ae=O:(ue=O.create(a).injector,Ae=Be(ue.get(Si,[],p.XFs.Self|p.XFs.Optional)));return{routes:Ae.map(fi),injector:ue}}),Nn(()=>{this.childrenLoaders.delete(f)})),T=new Ne(C,()=>new W.x).pipe(Fe());return this.childrenLoaders.set(f,T),T}loadModuleFactoryOrRoutes(a){return lt(a()).pipe((0,He.z)(f=>f instanceof p.YKP||Array.isArray(f)?(0,A.of)(f):(0,w.D)(this.compiler.compileModuleAsync(f))))}}return c.\u0275fac=function(a){return new(a||c)(p.LFG(p.zs3),p.LFG(p.Sil))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();class bc{}class xi{shouldProcessUrl(u){return!0}extract(u){return u}merge(u,a){return u}}function Mc(c){throw c}function Ma(c,u,a){return u.parse("/")}const Sa={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Co={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function Ia(){const c=(0,p.f3M)(or),u=(0,p.f3M)(er),a=(0,p.f3M)(B.Ye),f=(0,p.f3M)(p.zs3),m=(0,p.f3M)(p.Sil),C=(0,p.f3M)(Si,{optional:!0})??[],T=(0,p.f3M)(Bo,{optional:!0})??{},O=(0,p.f3M)(Do),ue=(0,p.f3M)(wa,{optional:!0}),Ae=(0,p.f3M)(bc,{optional:!0}),Xe=(0,p.f3M)(Es,{optional:!0}),je=new Yt(null,c,u,a,f,m,Be(C));return Ae&&(je.urlHandlingStrategy=Ae),Xe&&(je.routeReuseStrategy=Xe),je.titleStrategy=ue??O,function Sc(c,u){c.errorHandler&&(u.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(u.malformedUriErrorHandler=c.malformedUriErrorHandler),c.onSameUrlNavigation&&(u.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.relativeLinkResolution&&(u.relativeLinkResolution=c.relativeLinkResolution),c.urlUpdateStrategy&&(u.urlUpdateStrategy=c.urlUpdateStrategy),c.canceledNavigationResolution&&(u.canceledNavigationResolution=c.canceledNavigationResolution)}(T,je),je}let Yt=(()=>{class c{constructor(a,f,m,C,T,O,ue){this.rootComponentType=a,this.urlSerializer=f,this.rootContexts=m,this.location=C,this.config=ue,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new W.x,this.errorHandler=Mc,this.malformedUriErrorHandler=Ma,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,A.of)(void 0),this.urlHandlingStrategy=new xi,this.routeReuseStrategy=new Mi,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=T.get(Ii),this.configLoader.onLoadEndListener=Dt=>this.triggerEvent(new la(Dt)),this.configLoader.onLoadStartListener=Dt=>this.triggerEvent(new ua(Dt)),this.ngModule=T.get(p.h0i),this.console=T.get(p.c2e);const je=T.get(p.R0b);this.isNgZoneEnabled=je instanceof p.R0b&&p.R0b.isInAngularZone(),this.resetConfig(ue),this.currentUrlTree=function Ke(){return new vn(new at([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Po(this.currentUrlTree,this.rootComponentType),this.transitions=new V.X({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){return this.location.getState()?.\u0275routerPageId}setupNavigations(a){const f=this.events;return a.pipe((0,we.h)(m=>0!==m.id),(0,M.U)(m=>({...m,extractedUrl:this.urlHandlingStrategy.extract(m.rawUrl)})),re(m=>{let C=!1,T=!1;return(0,A.of)(m).pipe((0,tt.b)(O=>{this.currentNavigation={id:O.id,initialUrl:O.rawUrl,extractedUrl:O.extractedUrl,trigger:O.source,extras:O.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),re(O=>{const ue=this.browserUrlTree.toString(),Ae=!this.navigated||O.extractedUrl.toString()!==ue||ue!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||Ae)&&this.urlHandlingStrategy.shouldProcessUrl(O.rawUrl))return bs(O.source)&&(this.browserUrlTree=O.extractedUrl),(0,A.of)(O).pipe(re(je=>{const Dt=this.transitions.getValue();return f.next(new oi(je.id,this.serializeUrl(je.extractedUrl),je.source,je.restoredState)),Dt!==this.transitions.getValue()?F.E:Promise.resolve(je)}),function _(c,u,a,f){return re(m=>function y(c,u,a,f,m){return new g(c,u,a,f,m).apply()}(c,u,a,m.extractedUrl,f).pipe((0,M.U)(C=>({...m,urlAfterRedirects:C}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),(0,tt.b)(je=>{this.currentNavigation={...this.currentNavigation,finalUrl:je.urlAfterRedirects},m.urlAfterRedirects=je.urlAfterRedirects}),function Kn(c,u,a,f,m,C){return(0,He.z)(T=>function Ge(c,u,a,f,m,C,T="emptyOnly",O="legacy"){return new vt(c,u,a,f,m,T,O,C).recognize().pipe(re(ue=>null===ue?function Ce(c){return new ee.y(u=>u.error(c))}(new le):(0,A.of)(ue)))}(c,u,a,T.urlAfterRedirects,f.serialize(T.urlAfterRedirects),f,m,C).pipe((0,M.U)(O=>({...T,targetSnapshot:O}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),(0,tt.b)(je=>{if(m.targetSnapshot=je.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!je.extras.skipLocationChange){const sn=this.urlHandlingStrategy.merge(je.urlAfterRedirects,je.rawUrl);this.setBrowserUrl(sn,je)}this.browserUrlTree=je.urlAfterRedirects}const Dt=new ia(je.id,this.serializeUrl(je.extractedUrl),this.serializeUrl(je.urlAfterRedirects),je.targetSnapshot);f.next(Dt)}));if(Ae&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:Dt,extractedUrl:sn,source:gr,restoredState:Jr,extras:Yn}=O,Ps=new oi(Dt,this.serializeUrl(sn),gr,Jr);f.next(Ps);const mr=Po(sn,this.rootComponentType).snapshot;return m={...O,targetSnapshot:mr,urlAfterRedirects:sn,extras:{...Yn,skipLocationChange:!1,replaceUrl:!1}},(0,A.of)(m)}return this.rawUrlTree=O.rawUrl,O.resolve(null),F.E}),(0,tt.b)(O=>{const ue=new sa(O.id,this.serializeUrl(O.extractedUrl),this.serializeUrl(O.urlAfterRedirects),O.targetSnapshot);this.triggerEvent(ue)}),(0,M.U)(O=>m={...O,guards:Wt(O.targetSnapshot,O.currentSnapshot,this.rootContexts)}),function vi(c,u){return(0,He.z)(a=>{const{targetSnapshot:f,currentSnapshot:m,guards:{canActivateChecks:C,canDeactivateChecks:T}}=a;return 0===T.length&&0===C.length?(0,A.of)({...a,guardsResult:!0}):function yi(c,u,a,f){return(0,w.D)(c).pipe((0,He.z)(m=>function gs(c,u,a,f,m){const C=u&&u.routeConfig?u.routeConfig.canDeactivate:null;if(!C||0===C.length)return(0,A.of)(!0);const T=C.map(O=>{const ue=Gr(u)??m,Ae=Vn(O,ue);return lt(function mi(c){return c&&po(c.canDeactivate)}(Ae)?Ae.canDeactivate(c,u,a,f):ue.runInContext(()=>Ae(c,u,a,f))).pipe(ft())});return(0,A.of)(T).pipe(dr())}(m.component,m.route,a,u,f)),ft(m=>!0!==m,!0))}(T,f,m,c).pipe((0,He.z)(O=>O&&function Ec(c){return"boolean"==typeof c}(O)?function Di(c,u,a,f){return(0,w.D)(u).pipe((0,_t.b)(m=>(0,z.z)(function ya(c,u){return null!==c&&u&&u(new da(c)),(0,A.of)(!0)}(m.route.parent,f),function go(c,u){return null!==c&&u&&u(new ha(c)),(0,A.of)(!0)}(m.route,f),function Ci(c,u,a){const f=u[u.length-1],C=u.slice(0,u.length-1).reverse().map(T=>function fs(c){const u=c.routeConfig?c.routeConfig.canActivateChild:null;return u&&0!==u.length?{node:c,guards:u}:null}(T)).filter(T=>null!==T).map(T=>G(()=>{const O=T.guards.map(ue=>{const Ae=Gr(T.node)??a,Xe=Vn(ue,Ae);return lt(function zn(c){return c&&po(c.canActivateChild)}(Xe)?Xe.canActivateChild(f,c):Ae.runInContext(()=>Xe(f,c))).pipe(ft())});return(0,A.of)(O).pipe(dr())}));return(0,A.of)(C).pipe(dr())}(c,m.path,a),function ps(c,u,a){const f=u.routeConfig?u.routeConfig.canActivate:null;if(!f||0===f.length)return(0,A.of)(!0);const m=f.map(C=>G(()=>{const T=Gr(u)??a,O=Vn(C,T);return lt(function tn(c){return c&&po(c.canActivate)}(O)?O.canActivate(u,c):T.runInContext(()=>O(u,c))).pipe(ft())}));return(0,A.of)(m).pipe(dr())}(c,m.route,a))),ft(m=>!0!==m,!0))}(f,C,c,u):(0,A.of)(O)),(0,M.U)(O=>({...a,guardsResult:O})))})}(this.ngModule.injector,O=>this.triggerEvent(O)),(0,tt.b)(O=>{if(m.guardsResult=O.guardsResult,Bn(O.guardsResult))throw Pt(0,O.guardsResult);const ue=new aa(O.id,this.serializeUrl(O.extractedUrl),this.serializeUrl(O.urlAfterRedirects),O.targetSnapshot,!!O.guardsResult);this.triggerEvent(ue)}),(0,we.h)(O=>!!O.guardsResult||(this.restoreHistory(O),this.cancelNavigationTransition(O,"",3),!1)),Rn(O=>{if(O.guards.canActivateChecks.length)return(0,A.of)(O).pipe((0,tt.b)(ue=>{const Ae=new ns(ue.id,this.serializeUrl(ue.extractedUrl),this.serializeUrl(ue.urlAfterRedirects),ue.targetSnapshot);this.triggerEvent(Ae)}),re(ue=>{let Ae=!1;return(0,A.of)(ue).pipe(function Kr(c,u){return(0,He.z)(a=>{const{targetSnapshot:f,guards:{canActivateChecks:m}}=a;if(!m.length)return(0,A.of)(a);let C=0;return(0,w.D)(m).pipe((0,_t.b)(T=>function Yr(c,u,a,f){const m=c.routeConfig,C=c._resolve;return void 0!==m?.title&&!Ea(m)&&(C[zt]=m.title),function Wl(c,u,a,f){const m=function Ca(c){return[...Object.keys(c),...Object.getOwnPropertySymbols(c)]}(c);if(0===m.length)return(0,A.of)({});const C={};return(0,w.D)(m).pipe((0,He.z)(T=>function _a(c,u,a,f){const m=Gr(u)??f,C=Vn(c,m);return lt(C.resolve?C.resolve(u,a):m.runInContext(()=>C(u,a)))}(c[T],u,a,f).pipe(ft(),(0,tt.b)(O=>{C[T]=O}))),Nt(1),(0,Fn.h)(C),(0,it.K)(T=>Lo(T)?F.E:_e(T)))}(C,c,u,f).pipe((0,M.U)(T=>(c._resolvedData=T,c.data=si(c,a).resolve,m&&Ea(m)&&(c.data[zt]=m.title),null)))}(T.route,f,c,u)),(0,tt.b)(()=>C++),Nt(1),(0,He.z)(T=>C===m.length?(0,A.of)(a):F.E))})}(this.paramsInheritanceStrategy,this.ngModule.injector),(0,tt.b)({next:()=>Ae=!0,complete:()=>{Ae||(this.restoreHistory(ue),this.cancelNavigationTransition(ue,"",2))}}))}),(0,tt.b)(ue=>{const Ae=new ca(ue.id,this.serializeUrl(ue.extractedUrl),this.serializeUrl(ue.urlAfterRedirects),ue.targetSnapshot);this.triggerEvent(Ae)}))}),Rn(O=>{const ue=Ae=>{const Xe=[];Ae.routeConfig?.loadComponent&&!Ae.routeConfig._loadedComponent&&Xe.push(this.configLoader.loadComponent(Ae.routeConfig).pipe((0,tt.b)(je=>{Ae.component=je}),(0,M.U)(()=>{})));for(const je of Ae.children)Xe.push(...ue(je));return Xe};return De(ue(O.targetSnapshot.root)).pipe(We(),(0,ce.q)(1))}),Rn(()=>this.afterPreactivation()),(0,M.U)(O=>{const ue=function lo(c,u,a){const f=$r(c,u._root,a?a._root:void 0);return new Xn(f,u)}(this.routeReuseStrategy,O.targetSnapshot,O.currentRouterState);return m={...O,targetRouterState:ue}}),(0,tt.b)(O=>{this.currentUrlTree=O.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(O.urlAfterRedirects,O.rawUrl),this.routerState=O.targetRouterState,"deferred"===this.urlUpdateStrategy&&(O.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,O),this.browserUrlTree=O.urlAfterRedirects)}),((c,u,a)=>(0,M.U)(f=>(new pt(u,f.targetRouterState,f.currentRouterState,a).activate(c),f)))(this.rootContexts,this.routeReuseStrategy,O=>this.triggerEvent(O)),(0,tt.b)({next(){C=!0},complete(){C=!0}}),Nn(()=>{C||T||this.cancelNavigationTransition(m,"",1),this.currentNavigation?.id===m.id&&(this.currentNavigation=null)}),(0,it.K)(O=>{if(T=!0,Vr(O)){as(O)||(this.navigated=!0,this.restoreHistory(m,!0));const ue=new so(m.id,this.serializeUrl(m.extractedUrl),O.message,O.cancellationCode);if(f.next(ue),as(O)){const Ae=this.urlHandlingStrategy.merge(O.url,this.rawUrlTree),Xe={skipLocationChange:m.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||bs(m.source)};this.scheduleNavigation(Ae,"imperative",null,Xe,{resolve:m.resolve,reject:m.reject,promise:m.promise})}else m.resolve(!1)}else{this.restoreHistory(m,!0);const ue=new ts(m.id,this.serializeUrl(m.extractedUrl),O,m.targetSnapshot??void 0);f.next(ue);try{m.resolve(this.errorHandler(O))}catch(Ae){m.reject(Ae)}}return F.E}))}))}resetRootComponentType(a){this.rootComponentType=a,this.routerState.root.component=this.rootComponentType}setTransition(a){this.transitions.next({...this.transitions.value,...a})}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(a=>{const f="popstate"===a.type?"popstate":"hashchange";"popstate"===f&&setTimeout(()=>{const m={replaceUrl:!0},C=a.state?.navigationId?a.state:null;if(C){const O={...C};delete O.navigationId,delete O.\u0275routerPageId,0!==Object.keys(O).length&&(m.state=O)}const T=this.parseUrl(a.url);this.scheduleNavigation(T,f,C,m)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(a){this.events.next(a)}resetConfig(a){this.config=a.map(fi),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(a,f={}){const{relativeTo:m,queryParams:C,fragment:T,queryParamsHandling:O,preserveFragment:ue}=f,Ae=m||this.routerState.root,Xe=ue?this.currentUrlTree.fragment:T;let je=null;switch(O){case"merge":je={...this.currentUrlTree.queryParams,...C};break;case"preserve":je=this.currentUrlTree.queryParams;break;default:je=C||null}return null!==je&&(je=this.removeEmptyProps(je)),yn(Ae,this.currentUrlTree,a,je,Xe??null)}navigateByUrl(a,f={skipLocationChange:!1}){const m=Bn(a)?a:this.parseUrl(a),C=this.urlHandlingStrategy.merge(m,this.rawUrlTree);return this.scheduleNavigation(C,"imperative",null,f)}navigate(a,f={skipLocationChange:!1}){return function Ic(c){for(let u=0;u{const C=a[m];return null!=C&&(f[m]=C),f},{})}processNavigations(){this.navigations.subscribe(a=>{this.navigated=!0,this.lastSuccessfulId=a.id,this.currentPageId=a.targetPageId,this.events.next(new qn(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.titleStrategy?.updateTitle(this.routerState.snapshot),a.resolve(!0)},a=>{this.console.warn(`Unhandled Navigation Error: ${a}`)})}scheduleNavigation(a,f,m,C,T){if(this.disposed)return Promise.resolve(!1);let O,ue,Ae;T?(O=T.resolve,ue=T.reject,Ae=T.promise):Ae=new Promise((Dt,sn)=>{O=Dt,ue=sn});const Xe=++this.navigationId;let je;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(m=this.location.getState()),je=m&&m.\u0275routerPageId?m.\u0275routerPageId:C.replaceUrl||C.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):je=0,this.setTransition({id:Xe,targetPageId:je,source:f,restoredState:m,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:a,extras:C,resolve:O,reject:ue,promise:Ae,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Ae.catch(Dt=>Promise.reject(Dt))}setBrowserUrl(a,f){const m=this.urlSerializer.serialize(a),C={...f.extras.state,...this.generateNgRouterState(f.id,f.targetPageId)};this.location.isCurrentPathEqualTo(m)||f.extras.replaceUrl?this.location.replaceState(m,"",C):this.location.go(m,"",C)}restoreHistory(a,f=!1){if("computed"===this.canceledNavigationResolution){const m=this.currentPageId-a.targetPageId;"popstate"!==a.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.currentNavigation?.finalUrl||0===m?this.currentUrlTree===this.currentNavigation?.finalUrl&&0===m&&(this.resetState(a),this.browserUrlTree=a.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(m)}else"replace"===this.canceledNavigationResolution&&(f&&this.resetState(a),this.resetUrlToCurrentUrlTree())}resetState(a){this.routerState=a.currentRouterState,this.currentUrlTree=a.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(a,f,m){const C=new so(a.id,this.serializeUrl(a.extractedUrl),f,m);this.triggerEvent(C),a.resolve(!1)}generateNgRouterState(a,f){return"computed"===this.canceledNavigationResolution?{navigationId:a,\u0275routerPageId:f}:{navigationId:a}}}return c.\u0275fac=function(a){p.$Z()},c.\u0275prov=p.Yz7({token:c,factory:function(){return Ia()},providedIn:"root"}),c})();function bs(c){return"imperative"!==c}let jo=(()=>{class c{constructor(a,f,m,C,T){this.router=a,this.route=f,this.tabIndexAttribute=m,this.renderer=C,this.el=T,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new W.x,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(a){this._preserveFragment=(0,p.D6c)(a)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(a){this._skipLocationChange=(0,p.D6c)(a)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(a){this._replaceUrl=(0,p.D6c)(a)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(a){if(null!=this.tabIndexAttribute)return;const f=this.renderer,m=this.el.nativeElement;null!==a?f.setAttribute(m,"tabindex",a):f.removeAttribute(m,"tabindex")}ngOnChanges(a){this.onChanges.next(this)}set routerLink(a){null!=a?(this.commands=Array.isArray(a)?a:[a],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return c.\u0275fac=function(a){return new(a||c)(p.Y36(Yt),p.Y36($n),p.$8M("tabindex"),p.Y36(p.Qsj),p.Y36(p.SBq))},c.\u0275dir=p.lG2({type:c,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(a,f){1&a&&p.NdJ("click",function(){return f.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[p.TTD]}),c})(),pr=(()=>{class c{constructor(a,f,m){this.router=a,this.route=f,this.locationStrategy=m,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new W.x,this.subscription=a.events.subscribe(C=>{C instanceof qn&&this.updateTargetUrlAndHref()})}set preserveFragment(a){this._preserveFragment=(0,p.D6c)(a)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(a){this._skipLocationChange=(0,p.D6c)(a)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(a){this._replaceUrl=(0,p.D6c)(a)}get replaceUrl(){return this._replaceUrl}set routerLink(a){this.commands=null!=a?Array.isArray(a)?a:[a]:null}ngOnChanges(a){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(a,f,m,C,T){return!!(0!==a||f||m||C||T||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return c.\u0275fac=function(a){return new(a||c)(p.Y36(Yt),p.Y36($n),p.Y36(B.S$))},c.\u0275dir=p.lG2({type:c,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(a,f){1&a&&p.NdJ("click",function(C){return f.onClick(C.button,C.ctrlKey,C.shiftKey,C.altKey,C.metaKey)}),2&a&&p.uIk("target",f.target)("href",f.href,p.LSH)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[p.TTD]}),c})(),Zr=(()=>{class c{constructor(a,f,m,C,T,O){this.router=a,this.element=f,this.renderer=m,this.cdr=C,this.link=T,this.linkWithHref=O,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new p.vpe,this.routerEventsSubscription=a.events.subscribe(ue=>{ue instanceof qn&&this.update()})}ngAfterContentInit(){(0,A.of)(this.links.changes,this.linksWithHrefs.changes,(0,A.of)(null)).pipe((0,mn.J)()).subscribe(a=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const a=[...this.links.toArray(),...this.linksWithHrefs.toArray(),this.link,this.linkWithHref].filter(f=>!!f).map(f=>f.onChanges);this.linkInputChangesSubscription=(0,w.D)(a).pipe((0,mn.J)()).subscribe(f=>{this.isActive!==this.isLinkActive(this.router)(f)&&this.update()})}set routerLinkActive(a){const f=Array.isArray(a)?a:a.split(" ");this.classes=f.filter(m=>!!m)}ngOnChanges(a){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.linksWithHrefs||!this.router.navigated||Promise.resolve().then(()=>{const a=this.hasActiveLinks();this.isActive!==a&&(this.isActive=a,this.cdr.markForCheck(),this.classes.forEach(f=>{a?this.renderer.addClass(this.element.nativeElement,f):this.renderer.removeClass(this.element.nativeElement,f)}),a&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(a))})}isLinkActive(a){const f=function _o(c){return!!c.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return m=>!!m.urlTree&&a.isActive(m.urlTree,f)}hasActiveLinks(){const a=this.isLinkActive(this.router);return this.link&&a(this.link)||this.linkWithHref&&a(this.linkWithHref)||this.links.some(a)||this.linksWithHrefs.some(a)}}return c.\u0275fac=function(a){return new(a||c)(p.Y36(Yt),p.Y36(p.SBq),p.Y36(p.Qsj),p.Y36(p.sBO),p.Y36(jo,8),p.Y36(pr,8))},c.\u0275dir=p.lG2({type:c,selectors:[["","routerLinkActive",""]],contentQueries:function(a,f,m){if(1&a&&(p.Suo(m,jo,5),p.Suo(m,pr,5)),2&a){let C;p.iGM(C=p.CRH())&&(f.links=C),p.iGM(C=p.CRH())&&(f.linksWithHrefs=C)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[p.TTD]}),c})();class Ms{}let Kl=(()=>{class c{constructor(a,f,m,C,T){this.router=a,this.injector=m,this.preloadingStrategy=C,this.loader=T}setUpPreloading(){this.subscription=this.router.events.pipe((0,we.h)(a=>a instanceof qn),(0,_t.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(a,f){const m=[];for(const C of f){C.providers&&!C._injector&&(C._injector=(0,p.MMx)(C.providers,a,`Route: ${C.path}`));const T=C._injector??a,O=C._loadedInjector??T;C.loadChildren&&!C._loadedRoutes&&void 0===C.canLoad||C.loadComponent&&!C._loadedComponent?m.push(this.preloadConfig(T,C)):(C.children||C._loadedRoutes)&&m.push(this.processRoutes(O,C.children??C._loadedRoutes))}return(0,w.D)(m).pipe((0,mn.J)())}preloadConfig(a,f){return this.preloadingStrategy.preload(f,()=>{let m;m=f.loadChildren&&void 0===f.canLoad?this.loader.loadChildren(a,f):(0,A.of)(null);const C=m.pipe((0,He.z)(T=>null===T?(0,A.of)(void 0):(f._loadedRoutes=T.routes,f._loadedInjector=T.injector,this.processRoutes(T.injector??a,T.routes))));if(f.loadComponent&&!f._loadedComponent){const T=this.loader.loadComponent(f);return(0,w.D)([C,T]).pipe((0,mn.J)())}return C})}}return c.\u0275fac=function(a){return new(a||c)(p.LFG(Yt),p.LFG(p.Sil),p.LFG(p.lqb),p.LFG(Ms),p.LFG(Ii))},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),c})();const Ss=new p.OlP("");let St=(()=>{class c{constructor(a,f,m={}){this.router=a,this.viewportScroller=f,this.options=m,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},m.scrollPositionRestoration=m.scrollPositionRestoration||"disabled",m.anchorScrolling=m.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(a=>{a instanceof oi?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=a.navigationTrigger,this.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof qn&&(this.lastId=a.id,this.scheduleScrollEvent(a,this.router.parseUrl(a.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(a=>{a instanceof ii&&(a.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(a,f){this.router.triggerEvent(new ii(a,"popstate"===this.lastSource?this.store[this.restoredId]:null,f))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return c.\u0275fac=function(a){p.$Z()},c.\u0275prov=p.Yz7({token:c,factory:c.\u0275fac}),c})();function $o(c,u){return{\u0275kind:c,\u0275providers:u}}function Ta(c){return[{provide:Si,multi:!0,useValue:c}]}function Tc(){const c=(0,p.f3M)(p.zs3);return u=>{const a=c.get(p.z2F);if(u!==a.components[0])return;const f=c.get(Yt),m=c.get(Eo);1===c.get(Aa)&&f.initialNavigation(),c.get(wo,null,p.XFs.Optional)?.setUpPreloading(),c.get(Ss,null,p.XFs.Optional)?.init(),f.resetRootComponentType(a.componentTypes[0]),m.closed||(m.next(),m.unsubscribe())}}const Eo=new p.OlP("",{factory:()=>new W.x}),Aa=new p.OlP("",{providedIn:"root",factory:()=>1});const wo=new p.OlP("");function Zl(c){return $o(0,[{provide:wo,useExisting:Kl},{provide:Ms,useExisting:c}])}const Ts=new p.OlP("ROUTER_FORROOT_GUARD"),Ti=[B.Ye,{provide:or,useClass:wr},{provide:Yt,useFactory:Ia},er,{provide:$n,useFactory:function xc(c){return c.routerState.root},deps:[Yt]},Ii];function Vo(){return new p.PXZ("Router",Yt)}let Pa=(()=>{class c{constructor(a){}static forRoot(a,f){return{ngModule:c,providers:[Ti,[],Ta(a),{provide:Ts,useFactory:Ql,deps:[[Yt,new p.FiY,new p.tp0]]},{provide:Bo,useValue:f||{}},f?.useHash?{provide:B.S$,useClass:B.Do}:{provide:B.S$,useClass:B.b0},{provide:Ss,useFactory:()=>{const c=(0,p.f3M)(Yt),u=(0,p.f3M)(B.EM),a=(0,p.f3M)(Bo);return a.scrollOffset&&u.setOffset(a.scrollOffset),new St(c,u,a)}},f?.preloadingStrategy?Zl(f.preloadingStrategy).\u0275providers:[],{provide:p.PXZ,multi:!0,useFactory:Vo},f?.initialNavigation?Oa(f):[],[{provide:En,useFactory:Tc},{provide:p.tb,multi:!0,useExisting:En}]]}}static forChild(a){return{ngModule:c,providers:[Ta(a)]}}}return c.\u0275fac=function(a){return new(a||c)(p.LFG(Ts,8))},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[zr]}),c})();function Ql(c){return"guarded"}function Oa(c){return["disabled"===c.initialNavigation?$o(3,[{provide:p.ip1,multi:!0,useFactory:()=>{const u=(0,p.f3M)(Yt);return()=>{u.setUpLocationChangeListener()}}},{provide:Aa,useValue:2}]).\u0275providers:[],"enabledBlocking"===c.initialNavigation?$o(2,[{provide:Aa,useValue:0},{provide:p.ip1,multi:!0,deps:[p.zs3],useFactory:u=>{const a=u.get(B.V_,Promise.resolve());let f=!1;return()=>a.then(()=>new Promise(C=>{const T=u.get(Yt),O=u.get(Eo);(function m(C){u.get(Yt).events.pipe((0,we.h)(O=>O instanceof qn||O instanceof so||O instanceof ts),(0,M.U)(O=>O instanceof qn||O instanceof so&&(0===O.code||1===O.code)&&null),(0,we.h)(O=>null!==O),(0,ce.q)(1)).subscribe(()=>{C()})})(()=>{C(!0),f=!0}),T.afterPreactivation=()=>(C(!0),f||O.closed?(0,A.of)(void 0):O),T.initialNavigation()}))}}]).\u0275providers:[]]}const En=new p.OlP("")},5861:(Pe,ae,D)=>{"use strict";function p(A,V,H,ee,q,J,oe){try{var L=A[J](oe),ne=L.value}catch(P){return void H(P)}L.done?V(ne):Promise.resolve(ne).then(ee,q)}function w(A){return function(){var V=this,H=arguments;return new Promise(function(ee,q){var J=A.apply(V,H);function oe(ne){p(J,ee,q,oe,L,"next",ne)}function L(ne){p(J,ee,q,oe,L,"throw",ne)}oe(void 0)})}}D.d(ae,{Z:()=>w})},7582:(Pe,ae,D)=>{"use strict";function P(W,B,re,ce){return new(re||(re=Promise))(function(we,He){function We(ft){try{Ue(ce.next(ft))}catch(_t){He(_t)}}function ht(ft){try{Ue(ce.throw(ft))}catch(_t){He(_t)}}function Ue(ft){ft.done?we(ft.value):function Ie(we){return we instanceof re?we:new re(function(He){He(we)})}(ft.value).then(We,ht)}Ue((ce=ce.apply(W,B||[])).next())})}function ye(W){return this instanceof ye?(this.v=W,this):new ye(W)}function De(W,B,re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ie,ce=re.apply(W,B||[]),we=[];return Ie={},He("next"),He("throw"),He("return"),Ie[Symbol.asyncIterator]=function(){return this},Ie;function He(tt){ce[tt]&&(Ie[tt]=function(it){return new Promise(function(Rt,Ft){we.push([tt,it,Rt,Ft])>1||We(tt,it)})})}function We(tt,it){try{!function ht(tt){tt.value instanceof ye?Promise.resolve(tt.value.v).then(Ue,ft):_t(we[0][2],tt)}(ce[tt](it))}catch(Rt){_t(we[0][3],Rt)}}function Ue(tt){We("next",tt)}function ft(tt){We("throw",tt)}function _t(tt,it){tt(it),we.shift(),we.length&&We(we[0][0],we[0][1])}}function Q(W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var re,B=W[Symbol.asyncIterator];return B?B.call(W):(W=function te(W){var B="function"==typeof Symbol&&Symbol.iterator,re=B&&W[B],ce=0;if(re)return re.call(W);if(W&&"number"==typeof W.length)return{next:function(){return W&&ce>=W.length&&(W=void 0),{value:W&&W[ce++],done:!W}}};throw new TypeError(B?"Object is not iterable.":"Symbol.iterator is not defined.")}(W),re={},ce("next"),ce("throw"),ce("return"),re[Symbol.asyncIterator]=function(){return this},re);function ce(we){re[we]=W[we]&&function(He){return new Promise(function(We,ht){!function Ie(we,He,We,ht){Promise.resolve(ht).then(function(Ue){we({value:Ue,done:We})},He)}(We,ht,(He=W[we](He)).done,He.value)})}}}D.d(ae,{FC:()=>De,KL:()=>Q,mG:()=>P,qq:()=>ye}),"function"==typeof SuppressedError&&SuppressedError}},Pe=>{Pe(Pe.s=9077)}]);